Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001159/0.001159, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00151/0.00151, allocations: 162.6 kB / 25.61 MB, free: 8.582 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.9778/0.9778, allocations: 177.1 MB / 206 MB, free: 4.508 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.648e-05, allocations: 2.312 kB / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001801/0.001817, allocations: 1.475 MB / 275.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.002032, allocations: 107.6 kB / 275.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.002084, allocations: 0 / 275.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.002109, allocations: 4.562 kB / 275.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.002143, allocations: 7.938 kB / 275.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.002348, allocations: 32.44 kB / 275.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.002417, allocations: 23.92 kB / 275.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.336e-05/0.00249, allocations: 5 kB / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.002529, allocations: 15.92 kB / 275.9 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.219e-05/0.002561, allocations: 9.359 kB / 275.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.002578, allocations: 4 kB / 275.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.002584, allocations: 0 / 275.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.002603, allocations: 11.98 kB / 275.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.002618, allocations: 4.438 kB / 275.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.002685, allocations: 24.83 kB / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002687, allocations: 0 / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002688, allocations: 0 / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.002692, allocations: 0.625 kB / 275.9 MB, free: 2.727 MB / 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.0002755/0.002967, allocations: 371 kB / 276.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.002998, allocations: 15.97 kB / 276.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.003022, allocations: 8.891 kB / 276.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.003136, allocations: 112.6 kB / 276.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.003145, allocations: 8.375 kB / 276.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.003152, allocations: 4.359 kB / 276.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.00331, allocations: 104.1 kB / 276.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003318, allocations: 192 / 276.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.003323, allocations: 0.875 kB / 276.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003329, allocations: 4.375 kB / 276.5 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.003347, allocations: 8.578 kB / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.324e-05/0.003421, allocations: 97.27 kB / 276.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.003482, allocations: 50.97 kB / 276.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.003503, allocations: 11.72 kB / 276.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.003515, allocations: 4 kB / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.003536, allocations: 41.38 kB / 276.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.003537, allocations: 0 / 276.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.994e-05/0.003637, allocations: 57.62 kB / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.003667, allocations: 51.41 kB / 276.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.003731, allocations: 165.9 kB / 277 MB, free: 1.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.00374, allocations: 29.7 kB / 277 MB, free: 1.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.003771, allocations: 130.9 kB / 277.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.003774, allocations: 3.984 kB / 277.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.003794, allocations: 19.38 kB / 277.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/0.004099, allocations: 0.4883 MB / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-06/0.004102, allocations: 0 / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-06/0.004106, allocations: 0 / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.00413, allocations: 119.2 kB / 277.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.004152, allocations: 123.2 kB / 277.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.929e-05/0.004191, allocations: 29.64 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.004227, allocations: 127.2 kB / 278.1 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.004252, allocations: 119.2 kB / 278.2 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.215e-05/0.004304, allocations: 246.4 kB / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.004342, allocations: 131.1 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/0.004389, allocations: 238.4 kB / 278.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.004437, allocations: 123.1 kB / 278.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.004463, allocations: 127.1 kB / 279 MB, free: 15.4 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.582e-05/0.004539, allocations: 275.8 kB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.004586, allocations: 49.64 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.004606, allocations: 4 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004608, allocations: 3.938 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.00461, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004613, allocations: 7.938 kB / 279.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.351e-05/0.004666, allocations: 105.2 kB / 279.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.004669, allocations: 256 / 279.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.004719, allocations: 12 kB / 279.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004721, allocations: 0 / 279.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.004725, allocations: 0 / 279.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.004727, allocations: 0 / 279.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004727, allocations: 0 / 279.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.915e-05/0.004766, allocations: 68.38 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.004774, allocations: 7.953 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.004781, allocations: 0 / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.00479, allocations: 4 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.004792, allocations: 4 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.004795, allocations: 0 / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.004829, allocations: 135.2 kB / 279.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004829, allocations: 3.938 kB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.004966, allocations: 0 / 279.7 MB, free: 14.66 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.758e-05/0.005034, allocations: 95.25 kB / 279.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.024e-05/0.005074, allocations: 8 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005075, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.005076, allocations: 4 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.005222, allocations: 21.08 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.0054, allocations: 109.2 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.81e-05/0.005428, allocations: 63.2 kB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.871e-06/0.005434, allocations: 3.953 kB / 280 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.005466, allocations: 74.2 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005467, allocations: 0 / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Templates: time 0.001539/0.007006, allocations: 310.8 kB / 280.4 MB, free: 13.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6070881648920476]