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.001666/0.001666, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00201/0.00201, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.554/1.554, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.492e-06/1.492e-06, allocations: 0 / 325 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.513e-05, allocations: 9.453 kB / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003261/0.003286, allocations: 1.893 MB / 327 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.005504, allocations: 1.167 MB / 328.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.005606, allocations: 10.06 kB / 328.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.006244, allocations: 156.5 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.006677, allocations: 162.8 kB / 328.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.007229, allocations: 177.5 kB / 328.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.007528, allocations: 186.9 kB / 328.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.007644, allocations: 24.39 kB / 328.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.007841, allocations: 102.3 kB / 328.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.007971, allocations: 65.27 kB / 329 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.008001, allocations: 9.094 kB / 329 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.008156, allocations: 61.38 kB / 329.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.008244, allocations: 53.36 kB / 329.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.008315, allocations: 36.28 kB / 329.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.008678, allocations: 211.8 kB / 329.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.008682, allocations: 0 / 329.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.008683, allocations: 1.25 kB / 329.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008689, allocations: 0.7969 kB / 329.3 MB, free: 13.99 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.0007848/0.009474, allocations: 449.3 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.009506, allocations: 14.22 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.009565, allocations: 21.95 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.009925, allocations: 205.6 kB / 330 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.009935, allocations: 3.844 kB / 330 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.009958, allocations: 8.812 kB / 330 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.01028, allocations: 143.5 kB / 330.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.0103, allocations: 3.938 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.01031, allocations: 1.5 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01031, allocations: 1.562 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.01042, allocations: 39.86 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.01092, allocations: 300.8 kB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01116, allocations: 108 kB / 330.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.01125, allocations: 45.16 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.01127, allocations: 10.72 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.01143, allocations: 70.17 kB / 330.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 4.128e-06/0.01143, allocations: 5.297 kB / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000388/0.01182, allocations: 145.6 kB / 330.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.0119, allocations: 110.7 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.01221, allocations: 277.8 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01224, allocations: 31.02 kB / 331.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.01233, allocations: 120.1 kB / 331.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.01235, allocations: 10.31 kB / 331.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.01241, allocations: 33.91 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.01257, allocations: 324.4 kB / 331.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.01263, allocations: 25.95 kB / 331.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01274, allocations: 70.61 kB / 331.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.01286, allocations: 60.42 kB / 331.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01286, allocations: 0 / 331.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001931/0.01305, allocations: 106.6 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01307, allocations: 4.875 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01307, allocations: 0.9375 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01309, allocations: 1.031 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.01316, allocations: 9.406 kB / 332.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01316, allocations: 1.125 kB / 332.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.01323, allocations: 11.55 kB / 332.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.01324, allocations: 2.312 kB / 332.1 MB, free: 11.7 MB / 302.1 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.0001272/0.01336, allocations: 143.2 kB / 332.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.01346, allocations: 68.28 kB / 332.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.01369, allocations: 110.2 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.0137, allocations: 2.25 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0137, allocations: 1.188 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01371, allocations: 9.047 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01389, allocations: 165.8 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01389, allocations: 1.125 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.01392, allocations: 9.5 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01392, allocations: 2.219 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01393, allocations: 1.094 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01394, allocations: 10.19 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01394, allocations: 0 / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01425, allocations: 171.2 kB / 332.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.01432, allocations: 29.72 kB / 332.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.01435, allocations: 6.656 kB / 332.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.01441, allocations: 6.047 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.01445, allocations: 3.375 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.01448, allocations: 8.484 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.01468, allocations: 202.8 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01468, allocations: 1.406 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.01493, allocations: 32.03 kB / 333 MB, free: 10.95 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.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.001622/0.01655, allocations: 454.2 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.01676, allocations: 61.94 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01676, allocations: 0 / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.01684, allocations: 23.55 kB / 333.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.01725, allocations: 72.81 kB / 333.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.01787, allocations: 326.2 kB / 333.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.01799, allocations: 116.8 kB / 334.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.353e-05/0.01808, allocations: 26.36 kB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.01813, allocations: 22.59 kB / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01813, allocations: 4 kB / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.00667/0.0248, allocations: 2.544 MB / 336.7 MB, free: 8.992 MB / 302.1 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.434169784188271]