Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.7 MB / 243.2 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000861/0.0008611, allocations: 99.55 kB / 294.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002456, allocations: 7.938 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2314, allocations: 50.42 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.001724/0.2332, allocations: 1.566 MB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2345, allocations: 1.212 MB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2347, allocations: 7.938 kB / 407.4 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.2352, allocations: 135.7 kB / 407.5 MB, free: 28.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2354, allocations: 95.69 kB / 407.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2358, allocations: 196.9 kB / 407.8 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.236, allocations: 169.8 kB / 407.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2361, allocations: 37.53 kB / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.2362, allocations: 67.58 kB / 408 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.2363, allocations: 70.56 kB / 408.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2363, allocations: 4 kB / 408.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.2364, allocations: 35.98 kB / 408.2 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2365, allocations: 43.83 kB / 408.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.2365, allocations: 85.25 kB / 408.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2367, allocations: 192.8 kB / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2367, allocations: 0 / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2367, allocations: 2.844 kB / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2368, allocations: 0 / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005045/0.2373, allocations: 484.9 kB / 408.9 MB, free: 26.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2373, allocations: 12.03 kB / 409 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.2374, allocations: 20.66 kB / 409 MB, free: 26.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2376, allocations: 262.9 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2376, allocations: 4.375 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.2376, allocations: 8.125 kB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.2379, allocations: 146.7 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2379, allocations: 3.984 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2379, allocations: 4 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2379, allocations: 0 / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.238, allocations: 39.92 kB / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.2384, allocations: 354.3 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.2386, allocations: 111.9 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.2387, allocations: 42.56 kB / 409.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2387, allocations: 12.06 kB / 409.9 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.2388, allocations: 75.31 kB / 410 MB, free: 25.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2389, allocations: 0 / 410 MB, free: 25.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002823/0.2391, allocations: 137.4 kB / 410.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.2392, allocations: 132.7 kB / 410.3 MB, free: 25.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2394, allocations: 272.9 kB / 410.5 MB, free: 25.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2394, allocations: 29.64 kB / 410.6 MB, free: 25.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.2395, allocations: 116.1 kB / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2395, allocations: 15.81 kB / 410.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.2395, allocations: 0 / 410.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.2396, allocations: 334.8 kB / 411 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.2396, allocations: 16 kB / 411 MB, free: 24.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.2397, allocations: 73.98 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.2398, allocations: 68.23 kB / 411.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2398, allocations: 4.031 kB / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001482/0.2399, allocations: 117.6 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.24, allocations: 8 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.24, allocations: 0 / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.24, allocations: 4 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.2401, allocations: 11.98 kB / 411.3 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2401, allocations: 7.938 kB / 411.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.2401, allocations: 16 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2402, allocations: 11.94 kB / 411.4 MB, free: 24.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/0.2402, allocations: 141.8 kB / 411.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.2403, allocations: 65.34 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.2404, allocations: 25.7 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2404, allocations: 4 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2404, allocations: 0 / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2404, allocations: 3.938 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2405, allocations: 221.7 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2405, allocations: 4 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.2405, allocations: 7.984 kB / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2405, allocations: 0 / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.2406, allocations: 4 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2406, allocations: 0 / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2406, allocations: 0 / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.2407, allocations: 158.5 kB / 412 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.2408, allocations: 116.8 kB / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.2408, allocations: 0 / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.2409, allocations: 7.984 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.241, allocations: 4 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.241, allocations: 15.88 kB / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.2411, allocations: 192.5 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2411, allocations: 3.938 kB / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.2413, allocations: 39.94 kB / 412.4 MB, free: 23.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/0.2422, allocations: 481.6 kB / 412.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.2424, allocations: 63.91 kB / 412.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2424, allocations: 0 / 412.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.2424, allocations: 27.94 kB / 412.9 MB, free: 22.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.2428, allocations: 69.62 kB / 413 MB, free: 22.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.2433, allocations: 343.9 kB / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2434, allocations: 0.7283 MB / 414.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.336e-05/0.2435, allocations: 21.8 kB / 414.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.2435, allocations: 15.44 kB / 414.1 MB, free: 21.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2435, allocations: 3.938 kB / 414.1 MB, free: 21.41 MB / 298.7 MB Notification: Performance of Templates: time 0.00429/0.2478, allocations: 2.276 MB / 416.4 MB, free: 19.16 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches