Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.0007784/0.0007784, 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.07749/0.07749, allocations: 12.63 MB / 29.4 MB, free: 5.777 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001981/0.0001978, allocations: 4 kB / 40.28 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006036/0.006249, 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.BooleanSignals.SuperSample): time 1.628/1.634, allocations: 277.9 MB / 321 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/1.637, allocations: 1.213 MB / 322.2 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/1.637, allocations: 8.719 kB / 322.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007882/1.638, allocations: 136.7 kB / 322.3 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/1.639, allocations: 100.5 kB / 322.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/1.64, allocations: 186.8 kB / 322.6 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/1.64, allocations: 179.5 kB / 322.8 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/1.64, allocations: 80.33 kB / 322.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/1.64, allocations: 61.19 kB / 322.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/1.641, allocations: 67.56 kB / 323 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/1.641, allocations: 4 kB / 323 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/1.641, allocations: 43.98 kB / 323 MB, free: 8.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/1.641, allocations: 33.45 kB / 323.1 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/1.641, allocations: 97.19 kB / 323.2 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/1.641, allocations: 187.3 kB / 323.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.641, allocations: 4 kB / 323.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.641, allocations: 0.9062 kB / 323.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/1.641, allocations: 4 kB / 323.3 MB, free: 7.965 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.001022/1.642, allocations: 487.3 kB / 323.8 MB, free: 7.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.643, allocations: 12.03 kB / 323.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/1.643, allocations: 20.66 kB / 323.9 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/1.643, allocations: 258.9 kB / 324.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.643, allocations: 384 / 324.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/1.643, allocations: 12.12 kB / 324.1 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/1.644, allocations: 147 kB / 324.3 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.644, allocations: 3.984 kB / 324.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/1.644, allocations: 0 / 324.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.644, allocations: 0 / 324.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/1.644, allocations: 35.92 kB / 324.3 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007252/1.645, allocations: 365.2 kB / 324.7 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/1.645, allocations: 114.6 kB / 324.8 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.645, allocations: 39.53 kB / 324.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/1.645, allocations: 9.219 kB / 324.8 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/1.645, allocations: 76 kB / 324.9 MB, free: 6.207 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/1.645, allocations: 3.188 kB / 324.9 MB, free: 6.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000541/1.646, allocations: 141.3 kB / 325 MB, free: 6.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.646, allocations: 128.5 kB / 325.2 MB, free: 5.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/1.647, allocations: 261 kB / 325.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.647, allocations: 30.39 kB / 325.4 MB, free: 5.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.647, allocations: 122 kB / 325.6 MB, free: 5.484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/1.647, allocations: 11.91 kB / 325.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/1.647, allocations: 3.938 kB / 325.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.647, allocations: 334.8 kB / 325.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/1.647, allocations: 20.78 kB / 325.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.647, allocations: 68.86 kB / 326 MB, free: 5.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/1.647, allocations: 78.52 kB / 326.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.648, allocations: 0 / 326.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003245/1.648, allocations: 116.3 kB / 326.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.648, allocations: 8 kB / 326.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.648, allocations: 0 / 326.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.648, allocations: 4 kB / 326.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.648, allocations: 19.92 kB / 326.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.648, allocations: 4 kB / 326.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/1.648, allocations: 12.59 kB / 326.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/1.648, allocations: 8 kB / 326.2 MB, free: 4.766 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.0001774/1.648, allocations: 139.2 kB / 326.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.649, allocations: 70.16 kB / 326.4 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/1.649, allocations: 17.7 kB / 326.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.649, allocations: 4.469 kB / 326.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.649, allocations: 4 kB / 326.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.649, allocations: 3.938 kB / 326.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/1.649, allocations: 225.5 kB / 326.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.649, allocations: 3.938 kB / 326.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/1.649, allocations: 7.984 kB / 326.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.649, allocations: 0 / 326.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.649, allocations: 11.94 kB / 326.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.649, allocations: 0 / 326.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.649, allocations: 0 / 326.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/1.649, allocations: 158.5 kB / 326.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.65, allocations: 108.9 kB / 327 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/1.65, allocations: 8 kB / 327 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/1.65, allocations: 7.984 kB / 327 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/1.65, allocations: 0 / 327 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/1.65, allocations: 7.938 kB / 327 MB, free: 3.895 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002366/1.65, allocations: 196.5 kB / 327.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.65, allocations: 0 / 327.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002842/1.65, allocations: 31.94 kB / 327.2 MB, free: 3.676 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.001083/1.651, allocations: 482.7 kB / 327.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/1.652, allocations: 67.84 kB / 327.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.652, allocations: 3.938 kB / 327.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/1.652, allocations: 24.25 kB / 327.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/1.652, allocations: 63.45 kB / 327.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/1.653, allocations: 352 kB / 328.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.653, allocations: 0.7283 MB / 328.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.214e-05/1.653, allocations: 21.53 kB / 328.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/1.653, allocations: 19.44 kB / 329 MB, free: 2.012 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/1.653, allocations: 0 / 329 MB, free: 2.012 MB / 250.7 MB Notification: Performance of Templates: time 0.005957/1.659, allocations: 2.28 MB / 331.2 MB, free: 15.75 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches