Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001858/0.001858, 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.002294/0.002294, allocations: 157.2 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.407/1.407, allocations: 173.4 MB / 201 MB, free: 12.59 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.22 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09465, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002668/0.09732, allocations: 1.459 MB / 373 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001678/0.09749, allocations: 31.81 kB / 373.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.09755, allocations: 0 / 373.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.09757, allocations: 7.922 kB / 373.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.09761, allocations: 4 kB / 373.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.09785, allocations: 27.91 kB / 373.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.09793, allocations: 23.98 kB / 373.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.09802, allocations: 11.98 kB / 373.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.09805, allocations: 7.938 kB / 373.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.0981, allocations: 15.92 kB / 373.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.09811, allocations: 4 kB / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.09812, allocations: 0 / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.09814, allocations: 11.94 kB / 373.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.09818, allocations: 15.86 kB / 373.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.09827, allocations: 35.83 kB / 373.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09827, allocations: 0 / 373.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09827, allocations: 0 / 373.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.09828, allocations: 0 / 373.2 MB, free: 5.672 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.0004104/0.09869, allocations: 274.2 kB / 373.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09872, allocations: 12.92 kB / 373.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.09875, allocations: 0.9375 kB / 373.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.09894, allocations: 118.5 kB / 373.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.09896, allocations: 4.375 kB / 373.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.09898, allocations: 4.375 kB / 373.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.09933, allocations: 127.8 kB / 373.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.09934, allocations: 4.125 kB / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.09935, allocations: 3.938 kB / 373.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.09935, allocations: 0 / 373.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.09947, allocations: 23.98 kB / 373.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.09958, allocations: 101.3 kB / 373.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.09975, allocations: 50.55 kB / 373.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.09983, allocations: 28.86 kB / 374 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.09984, allocations: 8 kB / 374 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.09987, allocations: 38.5 kB / 374 MB, free: 4.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.09987, allocations: 0 / 374 MB, free: 4.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002753/0.1001, allocations: 85.55 kB / 374.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.1002, allocations: 55.39 kB / 374.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.1003, allocations: 105.9 kB / 374.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1003, allocations: 25.7 kB / 374.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1004, allocations: 88.14 kB / 374.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.1004, allocations: 3.984 kB / 374.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1004, allocations: 17.72 kB / 374.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1005, allocations: 314.8 kB / 374.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.1005, allocations: 7.938 kB / 374.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.1006, allocations: 39.36 kB / 374.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.1006, allocations: 31.44 kB / 374.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1006, allocations: 0 / 374.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.311e-05/0.1007, allocations: 65.56 kB / 374.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1007, allocations: 8.125 kB / 374.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1007, allocations: 0 / 374.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1008, allocations: 7.938 kB / 374.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.1008, allocations: 4 kB / 374.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1008, allocations: 4 kB / 374.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.1009, allocations: 7.938 kB / 374.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1009, allocations: 4 kB / 374.9 MB, free: 3.828 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001025/0.101, allocations: 117.8 kB / 375 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1011, allocations: 61.84 kB / 375.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.1012, allocations: 8 kB / 375.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1012, allocations: 7.938 kB / 375.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1012, allocations: 4 kB / 375.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1012, allocations: 0 / 375.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.1013, allocations: 109.2 kB / 375.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1013, allocations: 0 / 375.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.1013, allocations: 11.98 kB / 375.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1013, allocations: 0 / 375.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1013, allocations: 0 / 375.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1013, allocations: 384 / 375.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1013, allocations: 3.938 kB / 375.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1015, allocations: 97 kB / 375.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.1015, allocations: 11.94 kB / 375.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1015, allocations: 7.984 kB / 375.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.1016, allocations: 4 kB / 375.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-06/0.1016, allocations: 3.938 kB / 375.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1016, allocations: 0 / 375.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.1016, allocations: 87.28 kB / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1016, allocations: 0 / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.1018, allocations: 4 kB / 375.4 MB, free: 3.227 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 9.54e-05/0.1019, allocations: 103.2 kB / 375.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1021, allocations: 31.92 kB / 375.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1021, allocations: 0 / 375.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1021, allocations: 0 / 375.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1023, allocations: 31.98 kB / 375.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.1026, allocations: 121.4 kB / 375.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.1027, allocations: 75.22 kB / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.682e-05/0.1027, allocations: 0 / 375.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1027, allocations: 12.75 kB / 375.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1027, allocations: 4 kB / 375.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of Templates: time 0.002633/0.1053, allocations: 450.5 kB / 376.2 MB, free: 2.371 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.121808881987818]