Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001477/0.001477, allocations: 88.31 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.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.001639/0.001639, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.129e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004968/0.004999, allocations: 1.893 MB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.008237, allocations: 1.13 MB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.008364, allocations: 3.938 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.009166, allocations: 155.4 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000577/0.009743, allocations: 167.3 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.01041, allocations: 167.4 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.01082, allocations: 195.4 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.01094, allocations: 21.73 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.01117, allocations: 99.72 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.01135, allocations: 71.8 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.01138, allocations: 12 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.01158, allocations: 59.89 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01168, allocations: 43.84 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.01179, allocations: 39.84 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.01226, allocations: 211.2 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01227, allocations: 0 / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01227, allocations: 0 / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.01228, allocations: 3.938 kB / 276.6 MB, free: 13.55 MB / 266.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.001042/0.01332, allocations: 446.7 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.01336, allocations: 8.031 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.01347, allocations: 32.8 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.01398, allocations: 220.8 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.01399, allocations: 384 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.01402, allocations: 12.38 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.01448, allocations: 142.4 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.0145, allocations: 3.938 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.01451, allocations: 8 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01452, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.01469, allocations: 31.92 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.01536, allocations: 294.2 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.01574, allocations: 111.8 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01589, allocations: 42.56 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.01592, allocations: 4 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.01617, allocations: 83.31 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/0.01617, allocations: 0 / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005654/0.01673, allocations: 145.5 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.01685, allocations: 114.8 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.01732, allocations: 273.9 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.01736, allocations: 33.7 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.01751, allocations: 120.1 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.01754, allocations: 11.84 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.01762, allocations: 33.91 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.01785, allocations: 330.8 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.01793, allocations: 23.92 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.01808, allocations: 68.27 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01825, allocations: 53.64 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01825, allocations: 0 / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003255/0.01857, allocations: 101.5 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.0186, allocations: 4 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.01861, allocations: 4 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01862, allocations: 4.062 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01874, allocations: 15.92 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01875, allocations: 0 / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.01884, allocations: 4 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01886, allocations: 4 kB / 279.3 MB, free: 10.57 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,sample1.u) * 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.0002035/0.01906, allocations: 145.8 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.01922, allocations: 73.48 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.01961, allocations: 111.5 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.01962, allocations: 3.984 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.01962, allocations: 4.062 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01963, allocations: 0 / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.01991, allocations: 169.2 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01992, allocations: 0 / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.01997, allocations: 12.23 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01997, allocations: 4 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02, allocations: 4 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.02001, allocations: 4 kB / 279.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02001, allocations: 0 / 279.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.02045, allocations: 170.5 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.02057, allocations: 39.78 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.02061, allocations: 4 kB / 280 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.02071, allocations: 4 kB / 280 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.02076, allocations: 7.984 kB / 280 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.02079, allocations: 4 kB / 280 MB, free: 9.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003541/0.02114, allocations: 205.2 kB / 280.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02114, allocations: 0 / 280.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000428/0.02157, allocations: 24 kB / 280.3 MB, free: 9.516 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.002747/0.02431, allocations: 461.9 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.02462, allocations: 55.91 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.02463, allocations: 0 / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.02475, allocations: 31.92 kB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.02537, allocations: 57.28 kB / 280.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.02628, allocations: 342.6 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.02647, allocations: 115.7 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02657, allocations: 21.62 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.02665, allocations: 24.48 kB / 281.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02665, allocations: 4 kB / 281.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of Templates: time 0.009636/0.03628, allocations: 2.565 MB / 283.9 MB, free: 6.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.519518448971212]