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.0007623/0.0007623, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001896, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009923/0.0009923, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002319, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.938/0.938, allocations: 173.4 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08257/1.021, allocations: 52.49 MB / 238.3 MB, free: 4.449 MB / 234.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 239.5 MB, free: 3.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.255e-05, allocations: 6.875 kB / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001907/0.00193, allocations: 1.528 MB / 241.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.002086, allocations: 99.61 kB / 241.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.002135, allocations: 7.938 kB / 241.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.002158, allocations: 7.922 kB / 241.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.275e-05/0.00218, allocations: 3.938 kB / 241.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.002304, allocations: 19.92 kB / 241.2 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.002384, allocations: 23.92 kB / 241.2 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.002462, allocations: 15.92 kB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.002521, allocations: 19.98 kB / 241.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.002562, allocations: 7.984 kB / 241.3 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.002583, allocations: 4 kB / 241.3 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-06/0.00259, allocations: 0 / 241.3 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.002608, allocations: 7.938 kB / 241.3 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.002631, allocations: 4 kB / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.664e-05/0.002707, allocations: 19.86 kB / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.00272, allocations: 0 / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00272, allocations: 0 / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.002735, allocations: 4 kB / 241.3 MB, free: 1.43 MB / 234.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.0003281/0.003063, allocations: 252.5 kB / 241.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.003093, allocations: 12.03 kB / 241.6 MB, free: 1.145 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.003121, allocations: 8.938 kB / 241.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.00325, allocations: 113.7 kB / 241.7 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.003258, allocations: 384 / 241.7 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003266, allocations: 4.375 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.003436, allocations: 100.5 kB / 241.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003443, allocations: 4.188 kB / 241.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.00345, allocations: 8.359 kB / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003454, allocations: 384 / 241.8 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.003473, allocations: 11.88 kB / 241.8 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.616e-05/0.00353, allocations: 53.05 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.003593, allocations: 34.56 kB / 241.9 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.003612, allocations: 12.86 kB / 241.9 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.00363, allocations: 0 / 241.9 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.00365, allocations: 34.55 kB / 241.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.01e-07/0.00365, allocations: 3.938 kB / 241.9 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.16e-05/0.003742, allocations: 53.62 kB / 242 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.003776, allocations: 59.39 kB / 242.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.003825, allocations: 102.7 kB / 242.2 MB, free: 456 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.003833, allocations: 25.7 kB / 242.2 MB, free: 424 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.003853, allocations: 88.11 kB / 242.3 MB, free: 332 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.003854, allocations: 0 / 242.3 MB, free: 332 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.003871, allocations: 13.72 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.003953, allocations: 314.8 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.003957, allocations: 4 kB / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.003961, allocations: 1.594 kB / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.775e-05/0.003979, allocations: 75.28 kB / 242.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.003995, allocations: 83.28 kB / 242.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.408e-05/0.004029, allocations: 29.64 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.004056, allocations: 87.27 kB / 242.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.004073, allocations: 75.28 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.004111, allocations: 154.5 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.769e-05/0.004129, allocations: 79.28 kB / 243.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002926/0.004422, allocations: 154.5 kB / 243.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.004461, allocations: 79.47 kB / 243.4 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.004478, allocations: 83.47 kB / 243.5 MB, free: 15.09 MB / 250.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 6.258e-05/0.004541, allocations: 189.1 kB / 243.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.004583, allocations: 49.61 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.004609, allocations: 11.98 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.00461, allocations: 0 / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.004612, allocations: 0 / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004615, allocations: 0 / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.544e-05/0.00466, allocations: 65.84 kB / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.004663, allocations: 0 / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.004734, allocations: 15.98 kB / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.004739, allocations: 0 / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.004742, allocations: 0 / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-06/0.004745, allocations: 0 / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.004748, allocations: 8 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.00475, allocations: 3.984 kB / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.533e-05/0.004786, allocations: 57.17 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.004794, allocations: 7.922 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.004803, allocations: 0 / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.004806, allocations: 0 / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.004809, allocations: 4 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.004821, allocations: 8.859 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004821, allocations: 0 / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001048/0.004926, allocations: 4 kB / 243.9 MB, free: 14.61 MB / 250.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 8.194e-05/0.005008, allocations: 80.42 kB / 244 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.574e-05/0.005054, allocations: 11.98 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.005058, allocations: 3.984 kB / 244 MB, free: 14.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-07/0.005058, allocations: 0 / 244 MB, free: 14.51 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.005168, allocations: 17 kB / 244 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.005488, allocations: 119.4 kB / 244.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.005514, allocations: 59.34 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.362e-06/0.005521, allocations: 0 / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.005549, allocations: 55.38 kB / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00555, allocations: 0 / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of Templates: time 0.001557/0.007107, allocations: 330.8 kB / 244.6 MB, free: 13.9 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.367906503379345]