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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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=5053,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=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.803e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00359/0.003618, allocations: 1.866 MB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.005911, allocations: 1.028 MB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.006022, allocations: 7.938 kB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.006663, allocations: 147.5 kB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.006993, allocations: 119.4 kB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.007561, allocations: 215.2 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.007849, allocations: 179.5 kB / 270.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.007947, allocations: 17.8 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.00811, allocations: 95.67 kB / 271 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.008236, allocations: 67.8 kB / 271 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.008265, allocations: 8 kB / 271.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.008414, allocations: 55.89 kB / 271.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.008494, allocations: 51.83 kB / 271.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.008577, allocations: 35.86 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.008928, allocations: 211.2 kB / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.008931, allocations: 0 / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008931, allocations: 0 / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.008936, allocations: 0 / 271.4 MB, free: 2.617 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.0007663/0.009702, allocations: 446.7 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.009739, allocations: 12.03 kB / 271.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.009813, allocations: 24.78 kB / 271.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.01017, allocations: 216.9 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.01018, allocations: 384 / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.0102, allocations: 8.375 kB / 272.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.01055, allocations: 138.4 kB / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01056, allocations: 7.875 kB / 272.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.01058, allocations: 8 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.01058, allocations: 0 / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.0107, allocations: 35.97 kB / 272.3 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.01118, allocations: 298.1 kB / 272.6 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.01144, allocations: 107.8 kB / 272.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.01154, allocations: 46.56 kB / 272.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01156, allocations: 4 kB / 272.7 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01174, allocations: 75.31 kB / 272.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01174, allocations: 0 / 272.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.00042/0.01216, allocations: 149.5 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.01225, allocations: 106.8 kB / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.0126, allocations: 269.7 kB / 273.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.01263, allocations: 25.7 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.01273, allocations: 120.1 kB / 273.5 MB, free: 352 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.01276, allocations: 19.83 kB / 273.5 MB, free: 332 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.01282, allocations: 25.72 kB / 273.5 MB, free: 300 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01301, allocations: 322.8 kB / 273.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.01309, allocations: 24.23 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.01319, allocations: 68.27 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01332, allocations: 61.89 kB / 274 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01332, allocations: 0 / 274 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002275/0.01355, allocations: 105.5 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01356, allocations: 8 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01356, allocations: 0 / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01358, allocations: 0 / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.01365, allocations: 8 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01366, allocations: 8.062 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.01372, allocations: 11.94 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.01373, allocations: 0 / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001407/0.01387, allocations: 145.7 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.01397, allocations: 61.55 kB / 274.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.01423, allocations: 119.5 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01424, allocations: 0 / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01424, allocations: 0 / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.01426, allocations: 4 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.01446, allocations: 169.2 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01446, allocations: 0 / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.0145, allocations: 8 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.0145, allocations: 4 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01451, allocations: 0 / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01452, allocations: 0 / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01452, allocations: 7.938 kB / 274.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.01483, allocations: 162.6 kB / 274.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.0149, allocations: 35.78 kB / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.01493, allocations: 4 kB / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.015, allocations: 12.05 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01504, allocations: 8 kB / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.01506, allocations: 8 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.0153, allocations: 197.2 kB / 275 MB, free: 14.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0153, allocations: 0 / 275 MB, free: 14.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.01555, allocations: 23.98 kB / 275.1 MB, free: 14.62 MB / 266.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.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 (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.001967/0.01752, allocations: 451 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01774, allocations: 67.91 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01774, allocations: 0 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.01782, allocations: 31.92 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.01826, allocations: 76.66 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.0189, allocations: 322.7 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.01904, allocations: 119.7 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.01912, allocations: 21.62 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.01917, allocations: 20.5 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01917, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of Templates: time 0.007141/0.02631, allocations: 2.539 MB / 278.7 MB, free: 11.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3379171749111265]