Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.905e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003739/0.003768, allocations: 1.896 MB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.006098, allocations: 1.129 MB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.006235, allocations: 7.938 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.006919, allocations: 155.4 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.007482, allocations: 159.3 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.008147, allocations: 175.4 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.00853, allocations: 195.4 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.008676, allocations: 17.75 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.008928, allocations: 107.7 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.009117, allocations: 63.8 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.009155, allocations: 8 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.009344, allocations: 55.95 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.009448, allocations: 47.83 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.009542, allocations: 39.86 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.01003, allocations: 215.2 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01004, allocations: 0 / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01004, allocations: 4 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.01005, allocations: 0 / 276.4 MB, free: 13.51 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.001032/0.01108, allocations: 450.7 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.01113, allocations: 15.98 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.01122, allocations: 28.78 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.01165, allocations: 212.8 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.01168, allocations: 8.375 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.0117, allocations: 8.375 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.01208, allocations: 150.4 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01209, allocations: 192 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.0121, allocations: 384 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.01211, allocations: 3.938 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.01223, allocations: 39.92 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.01276, allocations: 290.2 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.01302, allocations: 107.9 kB / 277.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01313, allocations: 46.5 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.01315, allocations: 7.938 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.01333, allocations: 75.38 kB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.01333, allocations: 0 / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004343/0.01376, allocations: 149.4 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.01385, allocations: 107.1 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.0142, allocations: 281.9 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.01423, allocations: 29.69 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01433, allocations: 116.1 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01437, allocations: 23.91 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.01442, allocations: 29.66 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.01462, allocations: 330.8 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.01468, allocations: 19.98 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01479, allocations: 68.27 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01492, allocations: 57.64 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01492, allocations: 4.031 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.01514, allocations: 101.5 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01516, allocations: 4 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01516, allocations: 0 / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01518, allocations: 0 / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.01527, allocations: 20.3 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.01527, allocations: 0 / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.01534, allocations: 4 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01535, allocations: 4 kB / 279.2 MB, free: 10.52 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.0001726/0.01552, allocations: 145.9 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.01563, allocations: 73.42 kB / 279.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.01591, allocations: 115.4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01591, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.01592, allocations: 4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01592, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01612, allocations: 161.2 kB / 279.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01613, allocations: 3.938 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.01616, allocations: 15.98 kB / 279.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.01617, allocations: 8 kB / 279.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01618, allocations: 4 kB / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01619, allocations: 0 / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01619, allocations: 0 / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.0165, allocations: 166.6 kB / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.01658, allocations: 39.72 kB / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01661, allocations: 4 kB / 279.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.01668, allocations: 4 kB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.01673, allocations: 7.984 kB / 279.9 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01675, allocations: 8 kB / 279.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.01698, allocations: 201.2 kB / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01698, allocations: 0 / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01724, allocations: 31.98 kB / 280.2 MB, free: 9.465 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.00197/0.01921, allocations: 436.5 kB / 280.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.01945, allocations: 67.89 kB / 280.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01946, allocations: 0 / 280.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.01954, allocations: 31.97 kB / 280.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.01997, allocations: 69.73 kB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.02062, allocations: 342.5 kB / 281.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.02076, allocations: 115.4 kB / 281.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.02084, allocations: 21.67 kB / 281.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.0209, allocations: 24.48 kB / 281.2 MB, free: 8.477 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0209, allocations: 0 / 281.2 MB, free: 8.477 MB / 266.7 MB Notification: Performance of Templates: time 0.007403/0.02831, allocations: 2.561 MB / 283.8 MB, free: 5.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.41464808001183]