Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 180.7 kB / 15.8 MB, free: 6.336 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 90.86 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07803/0.07803, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004859, allocations: 16.47 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09377, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.2022, allocations: 81.85 MB / 0.5119 GB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.2025, allocations: 83.95 kB / 0.512 GB, free: 8.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.2196, allocations: 6.334 MB / 0.5182 GB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2196, allocations: 0 / 0.5182 GB, free: 2.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.2196, allocations: 4 kB / 0.5182 GB, free: 2.535 MB / 362.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.0006185/0.2203, allocations: 0.508 MB / 0.5187 GB, free: 1.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2203, allocations: 8.031 kB / 0.5187 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.2204, allocations: 19.81 kB / 0.5187 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2208, allocations: 265.6 kB / 0.519 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2208, allocations: 7.953 kB / 0.519 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2209, allocations: 4 kB / 0.519 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.2212, allocations: 154.7 kB / 0.5191 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2212, allocations: 0 / 0.5191 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2212, allocations: 3.984 kB / 0.5191 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2212, allocations: 0 / 0.5191 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2214, allocations: 39.92 kB / 0.5192 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.2219, allocations: 366.5 kB / 0.5195 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2221, allocations: 111.9 kB / 0.5196 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2221, allocations: 0 / 0.5196 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.2223, allocations: 71.45 kB / 0.5197 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2223, allocations: 0 / 0.5197 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003635/0.2227, allocations: 157.5 kB / 0.5199 GB, free: 0.625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.2228, allocations: 136.5 kB / 0.52 GB, free: 472 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.223, allocations: 236.1 kB / 0.5202 GB, free: 228 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2231, allocations: 33.7 kB / 0.5202 GB, free: 188 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.2231, allocations: 120.1 kB / 0.5204 GB, free: 64 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2232, allocations: 19.8 kB / 0.5204 GB, free: 44 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.2232, allocations: 0 / 0.5204 GB, free: 44 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.1925/0.4157, allocations: 333.8 kB / 0.5207 GB, free: 84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4159, allocations: 20.92 kB / 0.5207 GB, free: 84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.416, allocations: 68.88 kB / 0.5208 GB, free: 83.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.4161, allocations: 29.09 kB / 0.5208 GB, free: 83.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4161, allocations: 0 / 0.5208 GB, free: 83.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003023/0.4164, allocations: 116.2 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4165, allocations: 5.344 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4165, allocations: 2.938 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4165, allocations: 3.531 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4166, allocations: 15.39 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4167, allocations: 5.281 kB / 0.5209 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4168, allocations: 9.812 kB / 0.521 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4168, allocations: 3.438 kB / 0.521 GB, free: 83.92 MB / 362.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,sample.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.4169, allocations: 148.8 kB / 0.5211 GB, free: 83.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.417, allocations: 69.81 kB / 0.5212 GB, free: 83.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4173, allocations: 112.6 kB / 0.5213 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4173, allocations: 0 / 0.5213 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4173, allocations: 3.469 kB / 0.5213 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4173, allocations: 0 / 0.5213 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.4175, allocations: 233.9 kB / 0.5215 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4175, allocations: 2.156 kB / 0.5215 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.4175, allocations: 13.5 kB / 0.5215 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4175, allocations: 0 / 0.5215 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4176, allocations: 5.547 kB / 0.5215 GB, free: 83.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4176, allocations: 2.75 kB / 0.5215 GB, free: 83.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4176, allocations: 7.156 kB / 0.5215 GB, free: 83.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.4178, allocations: 186.5 kB / 0.5217 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.4179, allocations: 116.5 kB / 0.5218 GB, free: 83.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4179, allocations: 5.812 kB / 0.5218 GB, free: 83.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.418, allocations: 6.281 kB / 0.5218 GB, free: 83.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.418, allocations: 5.828 kB / 0.5218 GB, free: 83.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4181, allocations: 9.531 kB / 0.5218 GB, free: 83.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4182, allocations: 194 kB / 0.522 GB, free: 83.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4182, allocations: 0 / 0.522 GB, free: 83.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.4185, allocations: 40.14 kB / 0.5221 GB, free: 83.23 MB / 362.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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008616/0.4194, allocations: 424 kB / 0.5225 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4196, allocations: 79.98 kB / 0.5226 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4196, allocations: 0 / 0.5226 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.4197, allocations: 28 kB / 0.5226 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4201, allocations: 60.75 kB / 0.5226 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.4206, allocations: 344.5 kB / 0.523 GB, free: 82.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.4208, allocations: 0.7346 MB / 0.5237 GB, free: 82.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.4209, allocations: 29.11 kB / 0.5237 GB, free: 82.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.4209, allocations: 17.12 kB / 0.5237 GB, free: 82.01 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4209, allocations: 0 / 0.5237 GB, free: 82.01 MB / 362.7 MB Notification: Performance of Templates: time 0.005623/0.4266, allocations: 2.323 MB / 0.526 GB, free: 81.79 MB / 362.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