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.002585/0.002585, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002842/0.002842, allocations: 149.1 kB / 24.26 MB, free: 172 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.632/1.632, 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.152e-06/1.152e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.686e-05, allocations: 6.25 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003553/0.00358, allocations: 1.886 MB / 269.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.005635, allocations: 1.048 MB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.005731, allocations: 3.938 kB / 270.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.006339, allocations: 147.5 kB / 270.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.006676, allocations: 131.4 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.007214, allocations: 203.2 kB / 270.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.007492, allocations: 179.5 kB / 270.9 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.007598, allocations: 17.8 kB / 270.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.007769, allocations: 103.7 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.007892, allocations: 59.81 kB / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.007923, allocations: 8 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.008074, allocations: 67.88 kB / 271.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.008158, allocations: 47.84 kB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.008228, allocations: 35.86 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.008588, allocations: 207.2 kB / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.008591, allocations: 0 / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008591, allocations: 0 / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.008596, allocations: 0 / 271.4 MB, free: 2.582 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.0008581/0.009454, allocations: 0.5592 MB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.009504, allocations: 12.03 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.009581, allocations: 28.78 kB / 272 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.009952, allocations: 211.7 kB / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.009971, allocations: 8.375 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.009989, allocations: 4.375 kB / 272.3 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.01033, allocations: 160.5 kB / 272.4 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01035, allocations: 3.938 kB / 272.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.01036, allocations: 3.984 kB / 272.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.01037, allocations: 4 kB / 272.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.01048, allocations: 31.98 kB / 272.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.01104, allocations: 371 kB / 272.8 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.0113, allocations: 133.3 kB / 272.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.0114, allocations: 47.05 kB / 273 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.01142, allocations: 4 kB / 273 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.01159, allocations: 76.98 kB / 273.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.01159, allocations: 0 / 273.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003835/0.01197, allocations: 141.5 kB / 273.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.01206, allocations: 106.8 kB / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.01244, allocations: 324.2 kB / 273.6 MB, free: 136 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.01247, allocations: 37.69 kB / 273.7 MB, free: 92 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.01262, allocations: 170.9 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.01265, allocations: 19.91 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.01271, allocations: 35.36 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.013, allocations: 0.5118 MB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.01306, allocations: 12 kB / 274.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01316, allocations: 73 kB / 274.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.01328, allocations: 63.33 kB / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01328, allocations: 0 / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001992/0.01348, allocations: 101.7 kB / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.0135, allocations: 4 kB / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.0135, allocations: 0 / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01351, allocations: 0 / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.01359, allocations: 15.98 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.0136, allocations: 0 / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.01366, allocations: 11.89 kB / 274.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01366, allocations: 4.031 kB / 274.7 MB, free: 15.02 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.0001513/0.01382, allocations: 172.5 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.01392, allocations: 65.53 kB / 274.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.01416, allocations: 103.4 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.01416, allocations: 4 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01417, allocations: 0 / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01417, allocations: 0 / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01442, allocations: 200.5 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01442, allocations: 0 / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.01445, allocations: 8 kB / 275.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.01446, allocations: 8.062 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01447, allocations: 0 / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.01448, allocations: 7.938 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01448, allocations: 0 / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.01477, allocations: 179.5 kB / 275.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.01485, allocations: 39.78 kB / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01487, allocations: 0 / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01493, allocations: 4 kB / 275.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.01497, allocations: 7.984 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01499, allocations: 8 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.01522, allocations: 221.1 kB / 275.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01522, allocations: 0 / 275.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.01546, allocations: 24 kB / 275.7 MB, free: 13.9 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.002886/0.01834, allocations: 455.9 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.01857, allocations: 67.59 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01857, allocations: 0 / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.01866, allocations: 31.62 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.0191, allocations: 72.36 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.01971, allocations: 314 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.01985, allocations: 123.4 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.01991, allocations: 21.67 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.01996, allocations: 16.5 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01996, allocations: 3.938 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Templates: time 0.006797/0.02675, allocations: 2.518 MB / 279.3 MB, free: 10.46 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] 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.554663445916958]