Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003612/0.003612, allocations: 161.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9164/0.9164, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.292e-05, allocations: 4.672 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002391/0.002424, allocations: 1.896 MB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003764, allocations: 1.165 MB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.00387, allocations: 7.938 kB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.004389, allocations: 151.5 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.004661, allocations: 167.2 kB / 329.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.004972, allocations: 178.4 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.00518, allocations: 195.4 kB / 329.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.005286, allocations: 17.81 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.005409, allocations: 103.7 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.005508, allocations: 67.8 kB / 329.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.005527, allocations: 8 kB / 329.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.005634, allocations: 63.89 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.005694, allocations: 39.84 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.005745, allocations: 43.84 kB / 329.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.00599, allocations: 211.2 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005993, allocations: 4 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.005994, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.005999, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.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.0005731/0.006572, allocations: 453.6 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.006606, allocations: 8.031 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.006652, allocations: 20.8 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.006889, allocations: 212.8 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006903, allocations: 12.38 kB / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.006915, allocations: 4.375 kB / 330.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.00715, allocations: 142.4 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00716, allocations: 3.938 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007171, allocations: 0 / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.007175, allocations: 0 / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.007246, allocations: 39.92 kB / 331 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.007581, allocations: 294.1 kB / 331.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.007721, allocations: 115.8 kB / 331.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.007768, allocations: 38.56 kB / 331.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.007788, allocations: 11.88 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.007893, allocations: 75.38 kB / 331.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.007894, allocations: 0 / 331.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002342/0.008128, allocations: 141.7 kB / 331.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.008175, allocations: 114.8 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.008363, allocations: 273.9 kB / 332 MB, free: 8.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008377, allocations: 29.7 kB / 332.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.008436, allocations: 120.2 kB / 332.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.008455, allocations: 19.89 kB / 332.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.00849, allocations: 33.59 kB / 332.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.008573, allocations: 326.8 kB / 332.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.008608, allocations: 24.23 kB / 332.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.008659, allocations: 68.27 kB / 332.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.008725, allocations: 65.61 kB / 332.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.008728, allocations: 0 / 332.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.00883, allocations: 89.59 kB / 332.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.008842, allocations: 8 kB / 332.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008846, allocations: 0 / 332.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.008856, allocations: 0 / 332.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.008908, allocations: 15.92 kB / 332.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.008914, allocations: 4 kB / 332.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.008946, allocations: 7.938 kB / 332.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.008952, allocations: 4.031 kB / 332.8 MB, free: 8.145 MB / 298.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 8.44e-05/0.009036, allocations: 144.2 kB / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.009088, allocations: 77.47 kB / 333.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.009226, allocations: 107.4 kB / 333.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.009229, allocations: 4 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.009233, allocations: 0 / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009237, allocations: 0 / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.009344, allocations: 169.2 kB / 333.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.009345, allocations: 0 / 333.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.009362, allocations: 4.062 kB / 333.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009365, allocations: 11.94 kB / 333.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009373, allocations: 3.984 kB / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009374, allocations: 64 / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.009377, allocations: 8 kB / 333.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.009509, allocations: 166.5 kB / 333.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.009552, allocations: 35.83 kB / 333.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009568, allocations: 4 kB / 333.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.009595, allocations: 0 / 333.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.009627, allocations: 11.98 kB / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.009637, allocations: 8 kB / 333.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.009758, allocations: 205.2 kB / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009758, allocations: 0 / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.009916, allocations: 27.94 kB / 333.8 MB, free: 7.113 MB / 298.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.000686/0.0106, allocations: 445.6 kB / 334.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.01073, allocations: 63.89 kB / 334.3 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01074, allocations: 4 kB / 334.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.01078, allocations: 31.98 kB / 334.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.01103, allocations: 63.19 kB / 334.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.01144, allocations: 355 kB / 334.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.01152, allocations: 119.4 kB / 334.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.01155, allocations: 20.48 kB / 334.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01155, allocations: 4.188 kB / 334.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Templates: time 0.002967/0.01452, allocations: 2.685 MB / 337.6 MB, free: 3.473 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.379036505706608]