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.001293/0.001293, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002222/0.002222, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.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 0.00167/0.00167, allocations: 47.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003606/0.2591, allocations: 1.941 MB / 434.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2613, allocations: 1.22 MB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2614, allocations: 11.94 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.2621, allocations: 151.5 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.2625, allocations: 155.4 kB / 435.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.2629, allocations: 178.4 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2632, allocations: 187.5 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2633, allocations: 25.53 kB / 436.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2635, allocations: 83.69 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2636, allocations: 83.56 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.2636, allocations: 8 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.2638, allocations: 59.95 kB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.2638, allocations: 43.83 kB / 436.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.2639, allocations: 71.55 kB / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.2643, allocations: 209.5 kB / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2643, allocations: 0 / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2643, allocations: 0 / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2643, allocations: 4 kB / 436.8 MB, free: 2.504 MB / 334.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.0007662/0.265, allocations: 454.7 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2651, allocations: 12.02 kB / 437.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.2651, allocations: 24.8 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2655, allocations: 213.1 kB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2655, allocations: 4.375 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2655, allocations: 16.12 kB / 437.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2658, allocations: 142.7 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2658, allocations: 4 kB / 437.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2658, allocations: 3.938 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2658, allocations: 0 / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.2659, allocations: 39.91 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.2664, allocations: 333.5 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2667, allocations: 115.8 kB / 438.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.2668, allocations: 38.56 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2668, allocations: 4 kB / 438.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.267, allocations: 83.38 kB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.267, allocations: 0 / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003594/0.2673, allocations: 145.4 kB / 438.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2674, allocations: 132.5 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2677, allocations: 265.1 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2677, allocations: 33.7 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.2678, allocations: 116.4 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2678, allocations: 19.89 kB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.2679, allocations: 33.66 kB / 439 MB, free: 76 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2681, allocations: 330.8 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.2681, allocations: 23.98 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.2682, allocations: 62 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2684, allocations: 88.19 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2684, allocations: 0 / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002003/0.2686, allocations: 109.6 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2686, allocations: 8 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2686, allocations: 0 / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2686, allocations: 0 / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.2687, allocations: 19.94 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2687, allocations: 0 / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.2688, allocations: 23.81 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2688, allocations: 0 / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001268/0.2689, allocations: 146.5 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.269, allocations: 61.92 kB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.2692, allocations: 115.3 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2692, allocations: 4 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2692, allocations: 0 / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2692, allocations: 3.938 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2694, allocations: 204.7 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2694, allocations: 0 / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.2695, allocations: 8 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2695, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2695, allocations: 8.062 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2695, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2695, allocations: 3.984 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.2697, allocations: 158.5 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.2698, allocations: 27.84 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.2698, allocations: 4 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.2699, allocations: 15.98 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.2699, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2699, allocations: 7.938 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.2701, allocations: 204.5 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2701, allocations: 0 / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2704, allocations: 31.92 kB / 440.6 MB, free: 14.3 MB / 350.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,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 (9): * Single equations (assignments): 7 * 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.001448/0.2718, allocations: 435.1 kB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.272, allocations: 63.91 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.272, allocations: 0 / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.2721, allocations: 23.98 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2725, allocations: 59.81 kB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.273, allocations: 350.8 kB / 441.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2734, allocations: 0.732 MB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2734, allocations: 23.42 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2734, allocations: 0 / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Templates: time 0.005021/0.2784, allocations: 2.661 MB / 444.9 MB, free: 10.07 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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: 7.059048042166978]