Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 94.97 kB / 16.04 MB, free: 5.594 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07819/0.07819, allocations: 12.63 MB / 29.4 MB, free: 5.777 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001568/0.0001568, allocations: 4 kB / 40.28 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004707/0.004878, allocations: 2.824 MB / 43.1 MB, free: 5.961 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 1.602/1.607, allocations: 277.8 MB / 321 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/1.609, allocations: 1.441 MB / 322.4 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/1.609, allocations: 4 kB / 322.4 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/1.609, allocations: 56.52 kB / 322.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/1.61, allocations: 80.59 kB / 322.5 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/1.61, allocations: 246.2 kB / 322.8 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/1.611, allocations: 151.5 kB / 322.9 MB, free: 8.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/1.611, allocations: 71.09 kB / 323 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/1.611, allocations: 71.62 kB / 323.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/1.611, allocations: 71.62 kB / 323.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/1.611, allocations: 4 kB / 323.1 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/1.611, allocations: 41.98 kB / 323.2 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.611, allocations: 51.75 kB / 323.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/1.611, allocations: 97.19 kB / 323.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/1.612, allocations: 219.2 kB / 323.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.612, allocations: 0 / 323.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.612, allocations: 0 / 323.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/1.612, allocations: 1.031 kB / 323.5 MB, free: 7.75 MB / 250.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.0007612/1.612, allocations: 497.7 kB / 324 MB, free: 7.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.613, allocations: 12.03 kB / 324 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/1.613, allocations: 24.64 kB / 324.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/1.613, allocations: 293.9 kB / 324.3 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.613, allocations: 4.375 kB / 324.3 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.613, allocations: 12.12 kB / 324.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/1.613, allocations: 153.1 kB / 324.5 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.614, allocations: 2.469 kB / 324.5 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.614, allocations: 4 kB / 324.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.614, allocations: 0 / 324.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/1.614, allocations: 39.91 kB / 324.6 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/1.614, allocations: 384.1 kB / 324.9 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/1.615, allocations: 115.8 kB / 325 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.615, allocations: 50.5 kB / 325.1 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.615, allocations: 8.766 kB / 325.1 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/1.615, allocations: 69.08 kB / 325.2 MB, free: 5.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/1.615, allocations: 3.938 kB / 325.2 MB, free: 5.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005153/1.616, allocations: 157.6 kB / 325.3 MB, free: 5.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.616, allocations: 162.2 kB / 325.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/1.616, allocations: 322.7 kB / 325.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/1.616, allocations: 29.7 kB / 325.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.616, allocations: 128.1 kB / 326 MB, free: 5.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/1.616, allocations: 23.81 kB / 326 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/1.616, allocations: 4 kB / 326 MB, free: 5.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/1.617, allocations: 344.6 kB / 326.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/1.617, allocations: 15.98 kB / 326.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/1.617, allocations: 90.64 kB / 326.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.617, allocations: 81.56 kB / 326.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.617, allocations: 0 / 326.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003121/1.617, allocations: 126.5 kB / 326.6 MB, free: 4.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.618, allocations: 11.94 kB / 326.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.618, allocations: 3.156 kB / 326.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.618, allocations: 4 kB / 326.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.618, allocations: 19.98 kB / 326.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.618, allocations: 7.984 kB / 326.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/1.618, allocations: 7.938 kB / 326.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.618, allocations: 8.047 kB / 326.7 MB, free: 4.289 MB / 250.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,superSample.y,superSample.u,sample.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 0.0001887/1.618, allocations: 162.6 kB / 326.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.618, allocations: 61.42 kB / 326.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/1.618, allocations: 30.61 kB / 326.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.618, allocations: 4 kB / 326.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.618, allocations: 0.7188 kB / 326.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.618, allocations: 3.938 kB / 326.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/1.619, allocations: 238 kB / 327.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.619, allocations: 4 kB / 327.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/1.619, allocations: 11.94 kB / 327.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.619, allocations: 4 kB / 327.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/1.619, allocations: 0 / 327.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.619, allocations: 4 kB / 327.2 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.619, allocations: 3.984 kB / 327.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/1.619, allocations: 166.4 kB / 327.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.619, allocations: 116.7 kB / 327.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/1.619, allocations: 11.98 kB / 327.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/1.619, allocations: 4 kB / 327.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/1.62, allocations: 12.08 kB / 327.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.62, allocations: 11.88 kB / 327.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003353/1.62, allocations: 233.9 kB / 327.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.62, allocations: 0 / 327.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00041/1.62, allocations: 35.98 kB / 327.8 MB, free: 3.082 MB / 250.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,superSample.y,sample.y,superSample.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.001419/1.622, allocations: 479.1 kB / 328.2 MB, free: 2.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/1.622, allocations: 71.84 kB / 328.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.622, allocations: 0 / 328.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/1.622, allocations: 31.98 kB / 328.3 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/1.623, allocations: 56.98 kB / 328.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/1.624, allocations: 412.2 kB / 328.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/1.624, allocations: 0.7361 MB / 329.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000138/1.624, allocations: 37.5 kB / 329.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/1.624, allocations: 23.44 kB / 329.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of SimCode: time 3.3e-07/1.624, allocations: 0 / 329.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of Templates: time 0.007906/1.632, allocations: 2.663 MB / 332.3 MB, free: 14.68 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches