Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.00167/0.00167, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.00215/0.00215, allocations: 157.4 kB / 24.48 MB, free: 3.465 MB / 14.72 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.422/1.422, allocations: 173.4 MB / 201.1 MB, free: 12.58 MB / 190.1 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 46.36 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.0912, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002792/0.09399, allocations: 1.447 MB / 373 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002912/0.09428, allocations: 95.73 kB / 373.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.09435, allocations: 3.938 kB / 373.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.09438, allocations: 0 / 373.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.09441, allocations: 7.938 kB / 373.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.09466, allocations: 23.91 kB / 373.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.09475, allocations: 27.92 kB / 373.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.09487, allocations: 8 kB / 373.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.0949, allocations: 11.92 kB / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.09495, allocations: 11.94 kB / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.09497, allocations: 0 / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.09498, allocations: 4 kB / 373.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.095, allocations: 3.938 kB / 373.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.09504, allocations: 23.91 kB / 373.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.768e-05/0.09512, allocations: 27.84 kB / 373.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09513, allocations: 4 kB / 373.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.09513, allocations: 0 / 373.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.09514, allocations: 0 / 373.3 MB, free: 5.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005009/0.09564, allocations: 266.2 kB / 373.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.09567, allocations: 12.03 kB / 373.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.0957, allocations: 0.9375 kB / 373.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.09593, allocations: 122.4 kB / 373.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.09594, allocations: 4.375 kB / 373.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.09596, allocations: 4.375 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.09628, allocations: 115.8 kB / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.09629, allocations: 192 / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.0963, allocations: 7.938 kB / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.09631, allocations: 0 / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.09639, allocations: 19.97 kB / 373.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.09652, allocations: 101.3 kB / 373.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.09668, allocations: 58.48 kB / 374 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.09674, allocations: 24.92 kB / 374 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.09676, allocations: 0 / 374 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.09679, allocations: 30.56 kB / 374 MB, free: 4.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.09679, allocations: 0 / 374 MB, free: 4.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002347/0.09702, allocations: 73.56 kB / 374.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.09708, allocations: 59.39 kB / 374.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.09725, allocations: 109.9 kB / 374.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.09726, allocations: 33.64 kB / 374.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.09731, allocations: 88.06 kB / 374.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-06/0.09732, allocations: 3.938 kB / 374.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.09735, allocations: 17.72 kB / 374.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.09753, allocations: 318.8 kB / 374.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.09755, allocations: 3.984 kB / 374.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.09758, allocations: 31.44 kB / 374.7 MB, free: 4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.09763, allocations: 31.38 kB / 374.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.09763, allocations: 8 kB / 374.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.93e-05/0.09771, allocations: 49.62 kB / 374.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.09773, allocations: 10.97 kB / 374.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.09773, allocations: 0 / 374.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.09775, allocations: 3.938 kB / 374.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.0978, allocations: 8 kB / 374.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.0978, allocations: 3.938 kB / 374.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.09783, allocations: 11.94 kB / 374.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.09783, allocations: 128 / 374.9 MB, free: 3.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.302e-05/0.09793, allocations: 117.8 kB / 375 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.09804, allocations: 57.64 kB / 375 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.09807, allocations: 8 kB / 375 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.09807, allocations: 3.938 kB / 375 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.09808, allocations: 0 / 375 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.09808, allocations: 0 / 375 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.01e-05/0.09817, allocations: 105.3 kB / 375.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09817, allocations: 0 / 375.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.09822, allocations: 11.98 kB / 375.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.09822, allocations: 4 kB / 375.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.09823, allocations: 0 / 375.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.09823, allocations: 3.938 kB / 375.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.09824, allocations: 3.938 kB / 375.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.09839, allocations: 89.42 kB / 375.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.0984, allocations: 3.953 kB / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.09841, allocations: 256 / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.09845, allocations: 8 kB / 375.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.09847, allocations: 3.938 kB / 375.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.09848, allocations: 4 kB / 375.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.09853, allocations: 87.27 kB / 375.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09853, allocations: 0 / 375.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.09871, allocations: 7.938 kB / 375.4 MB, free: 3.277 MB / 334.1 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 0.0001041/0.09882, allocations: 99.25 kB / 375.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.09893, allocations: 27.92 kB / 375.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.09893, allocations: 0 / 375.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.09893, allocations: 3.938 kB / 375.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.09914, allocations: 24.22 kB / 375.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.09941, allocations: 121.4 kB / 375.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.09947, allocations: 63.34 kB / 375.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.09949, allocations: 4 kB / 375.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.09951, allocations: 8.5 kB / 375.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09951, allocations: 0 / 375.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Templates: time 0.002572/0.1021, allocations: 334.6 kB / 376 MB, free: 2.555 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.1621499540051445]