Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.0009826/0.0009826, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009763/0.0009763, allocations: 163.9 kB / 24.99 MB, free: 8.336 MB / 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 0.9964/0.9964, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.797e-05, allocations: 6.25 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001865/0.001883, allocations: 1.494 MB / 274.5 MB, free: 340 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.002098, allocations: 95.67 kB / 274.6 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.002155, allocations: 0 / 274.6 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.002179, allocations: 3.938 kB / 274.6 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.002211, allocations: 7.875 kB / 274.7 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.00241, allocations: 19.97 kB / 274.7 MB, free: 212 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.002488, allocations: 27.92 kB / 274.7 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.002576, allocations: 15.92 kB / 274.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.002618, allocations: 12 kB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.002644, allocations: 11.92 kB / 274.7 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.002663, allocations: 3.984 kB / 274.7 MB, free: 140 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-06/0.002671, allocations: 4 kB / 274.7 MB, free: 136 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.002687, allocations: 4 kB / 274.7 MB, free: 132 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.002715, allocations: 4 kB / 274.8 MB, free: 128 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.002787, allocations: 19.86 kB / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002788, allocations: 0 / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002789, allocations: 0 / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.002792, allocations: 0 / 274.8 MB, free: 108 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003108/0.003103, allocations: 372.6 kB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.003134, allocations: 12.03 kB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.003168, allocations: 8.891 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.003303, allocations: 120.6 kB / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.00332, allocations: 4.375 kB / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003327, allocations: 384 / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.003516, allocations: 106.2 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.003521, allocations: 4.188 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.003529, allocations: 384 / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.003536, allocations: 384 / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.003562, allocations: 15.86 kB / 275.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.906e-05/0.003651, allocations: 112.6 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.00372, allocations: 43.05 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.003746, allocations: 15.72 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.003762, allocations: 3.984 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.003782, allocations: 41.42 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.003783, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001196/0.003902, allocations: 61.52 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.003935, allocations: 59.41 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.004, allocations: 165.9 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.004007, allocations: 25.7 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.004043, allocations: 134.9 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.004045, allocations: 0 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.004062, allocations: 19.38 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.004156, allocations: 492.1 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/0.00416, allocations: 4 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-06/0.004162, allocations: 256 / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.004186, allocations: 119.2 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.004209, allocations: 123.2 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.005e-05/0.004239, allocations: 37.64 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.004273, allocations: 129.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.004298, allocations: 119.2 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.448e-05/0.004352, allocations: 246.3 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.004376, allocations: 123.2 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.487e-05/0.004421, allocations: 238.4 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.004467, allocations: 131.1 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.004488, allocations: 119.2 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 7.33e-05/0.004561, allocations: 271.8 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.004605, allocations: 53.62 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.004628, allocations: 11.69 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00463, allocations: 0 / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.004633, allocations: 0 / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.004637, allocations: 7.922 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.82e-05/0.004685, allocations: 116.5 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.004688, allocations: 0 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.004721, allocations: 0 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.004725, allocations: 4 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.00473, allocations: 0 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.004733, allocations: 3.984 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004734, allocations: 4 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.823e-05/0.004792, allocations: 88.38 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.004797, allocations: 0 / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.004805, allocations: 3.938 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.004819, allocations: 7.938 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-06/0.004822, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.004825, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.004855, allocations: 127.2 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004855, allocations: 0 / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000129/0.004984, allocations: 4 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.389e-05/0.005048, allocations: 107.4 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.915e-05/0.005087, allocations: 4 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005088, allocations: 0 / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005089, allocations: 0 / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.005237, allocations: 17.11 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.005419, allocations: 117.1 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.608e-05/0.005445, allocations: 55.36 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.00545, allocations: 0 / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.005469, allocations: 12.5 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00547, allocations: 4 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Templates: time 0.001465/0.006935, allocations: 310.4 kB / 279.2 MB, free: 11.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7707498990930617]