Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 88.52 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 178.9 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 242.3 MB, free: 14.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002283, allocations: 11.94 kB / 302.1 MB, free: 5.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07389/0.07413, allocations: 50.41 MB / 352.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.001909/0.07607, allocations: 1.589 MB / 354.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.07753, allocations: 1.021 MB / 355.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.07763, allocations: 7.938 kB / 355.1 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.07812, allocations: 144.8 kB / 355.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.07835, allocations: 95.69 kB / 355.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.07884, allocations: 200.3 kB / 355.5 MB, free: 364 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.07905, allocations: 171.5 kB / 355.7 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.07915, allocations: 29.55 kB / 355.7 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.07924, allocations: 59.64 kB / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.07935, allocations: 71.62 kB / 355.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.07937, allocations: 4 kB / 355.9 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.07949, allocations: 39.98 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.07956, allocations: 43.83 kB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.475e-05/0.07964, allocations: 89.19 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.07983, allocations: 143.9 kB / 356.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.07984, allocations: 0 / 356.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07984, allocations: 0 / 356.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.07985, allocations: 0 / 356.2 MB, free: 15.71 MB / 302.1 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.0005685/0.08043, allocations: 0.4885 MB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.08046, allocations: 8.031 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.08052, allocations: 24.75 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.08079, allocations: 262.8 kB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.08082, allocations: 384 / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.08084, allocations: 12.12 kB / 357 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.08112, allocations: 150.7 kB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.08114, allocations: 4 kB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.08116, allocations: 0 / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.08117, allocations: 4 kB / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.08127, allocations: 35.92 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.08169, allocations: 362.4 kB / 357.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.08191, allocations: 107.9 kB / 357.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.082, allocations: 46.5 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.08202, allocations: 4 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.08217, allocations: 75.38 kB / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.08218, allocations: 0 / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003226/0.08251, allocations: 141.3 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.08259, allocations: 140.8 kB / 358 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.08284, allocations: 264.9 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.08287, allocations: 29.7 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.08294, allocations: 116.2 kB / 358.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.08297, allocations: 23.73 kB / 358.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.08301, allocations: 17.72 kB / 358.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.0831, allocations: 330.8 kB / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.08317, allocations: 19.98 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.08327, allocations: 70 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.0834, allocations: 76.25 kB / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.08341, allocations: 0 / 358.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001985/0.08361, allocations: 117.4 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.08363, allocations: 4 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.08364, allocations: 0 / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.08366, allocations: 4 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.08374, allocations: 15.92 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.08375, allocations: 4 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.08383, allocations: 16.06 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.08384, allocations: 4 kB / 359.1 MB, free: 12.45 MB / 302.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 0.0001056/0.08395, allocations: 137.8 kB / 359.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.08404, allocations: 73.59 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.08409, allocations: 21.72 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.0841, allocations: 0 / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.08411, allocations: 7.984 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.08413, allocations: 12 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.0843, allocations: 221.5 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.08431, allocations: 0 / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.08434, allocations: 4 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.08435, allocations: 4 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.08436, allocations: 3.938 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.08437, allocations: 3.984 kB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.08438, allocations: 7.938 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.0846, allocations: 154.5 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.0847, allocations: 112.8 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.08473, allocations: 4 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.0848, allocations: 4 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.08484, allocations: 7.984 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.08486, allocations: 11.94 kB / 359.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.08504, allocations: 192.5 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.08505, allocations: 4 kB / 360.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.0853, allocations: 32 kB / 360.1 MB, free: 11.34 MB / 302.1 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.0008828/0.08619, allocations: 419.8 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.08639, allocations: 63.92 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.0864, allocations: 0 / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.08648, allocations: 28.17 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.08687, allocations: 68.41 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.08736, allocations: 385.7 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.08761, allocations: 0.7205 MB / 361.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.08766, allocations: 27.44 kB / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.08766, allocations: 0 / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Templates: time 0.004085/0.09175, allocations: 2.543 MB / 364.3 MB, free: 7.207 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches