Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009693/0.0009693, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 166.9 kB / 25.61 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9695/0.9695, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.343e-05, allocations: 2.312 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002287/0.00232, allocations: 1.514 MB / 275.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.002596, allocations: 103.6 kB / 275.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.002684, allocations: 0.625 kB / 275.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.002718, allocations: 8.422 kB / 275.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.002774, allocations: 7.922 kB / 275.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.003004, allocations: 24.61 kB / 275.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.003079, allocations: 29.7 kB / 275.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.003174, allocations: 7.984 kB / 275.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.003222, allocations: 15.92 kB / 275.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.003261, allocations: 4 kB / 275.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.003282, allocations: 4 kB / 275.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.003289, allocations: 1.938 kB / 275.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003311, allocations: 4 kB / 275.8 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.003334, allocations: 11.92 kB / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.003417, allocations: 27.91 kB / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003419, allocations: 0 / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003421, allocations: 4 kB / 275.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.003425, allocations: 0 / 275.9 MB, free: 2.504 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.0003234/0.003749, allocations: 368.5 kB / 276.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.003785, allocations: 8.031 kB / 276.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.003815, allocations: 8.891 kB / 276.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.00395, allocations: 120.5 kB / 276.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.00396, allocations: 8.375 kB / 276.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.003967, allocations: 384 / 276.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.004139, allocations: 106.2 kB / 276.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004145, allocations: 192 / 276.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004151, allocations: 384 / 276.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004156, allocations: 384 / 276.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.004175, allocations: 11.92 kB / 276.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.004266, allocations: 97.2 kB / 276.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.004338, allocations: 43.05 kB / 276.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.004363, allocations: 15.75 kB / 276.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.00438, allocations: 4 kB / 276.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.004403, allocations: 41.39 kB / 276.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.004404, allocations: 0 / 276.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000115/0.004519, allocations: 53.58 kB / 276.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.004565, allocations: 55.41 kB / 276.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.57e-05/0.00463, allocations: 161.9 kB / 277 MB, free: 1.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.004641, allocations: 33.7 kB / 277 MB, free: 1.215 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.004678, allocations: 130.9 kB / 277.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.00468, allocations: 0 / 277.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.004698, allocations: 15.38 kB / 277.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.004809, allocations: 0.4883 MB / 277.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.004813, allocations: 0 / 277.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.004817, allocations: 4 kB / 277.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.004845, allocations: 119.2 kB / 277.8 MB, free: 448 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/0.00487, allocations: 119.2 kB / 277.9 MB, free: 328 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.235e-05/0.004913, allocations: 37.62 kB / 277.9 MB, free: 284 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.004951, allocations: 123.2 kB / 278 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.004982, allocations: 123.2 kB / 278.1 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.488e-05/0.005056, allocations: 238.4 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.079e-05/0.005087, allocations: 127.4 kB / 278.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.589e-05/0.005143, allocations: 242.4 kB / 278.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.005197, allocations: 127.1 kB / 278.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.005227, allocations: 123.1 kB / 279 MB, free: 15.19 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 9.241e-05/0.00532, allocations: 283.8 kB / 279.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.005376, allocations: 41.66 kB / 279.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.005401, allocations: 19.86 kB / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005403, allocations: 0 / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005404, allocations: 0 / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005408, allocations: 0 / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.367e-05/0.005481, allocations: 109.1 kB / 279.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.005485, allocations: 0 / 279.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.688e-05/0.005551, allocations: 7.984 kB / 279.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005554, allocations: 4 kB / 279.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005558, allocations: 4 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005559, allocations: 0 / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.00556, allocations: 0 / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.943e-05/0.00561, allocations: 64.39 kB / 279.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.005616, allocations: 4 kB / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.005624, allocations: 0 / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.005633, allocations: 3.984 kB / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.005636, allocations: 240 / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.00564, allocations: 0 / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.005681, allocations: 131.1 kB / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005681, allocations: 4 kB / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.005807, allocations: 4 kB / 279.7 MB, free: 14.45 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: 0 () * 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.0001071/0.005914, allocations: 95.25 kB / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.005974, allocations: 11.97 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005976, allocations: 0 / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005976, allocations: 0 / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.006154, allocations: 15.47 kB / 279.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.006396, allocations: 113.3 kB / 279.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.006438, allocations: 63.2 kB / 279.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.006449, allocations: 8 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.006494, allocations: 66.2 kB / 280 MB, free: 14.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.006495, allocations: 0 / 280 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Templates: time 0.001778/0.008273, allocations: 318.2 kB / 280.3 MB, free: 13.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.7639866545796394]