Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001178/0.001178, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.001294/0.001294, allocations: 165.7 kB / 24.99 MB, free: 9.219 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 1.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.582 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.273e-05, allocations: 5.266 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002424/0.002456, allocations: 1.482 MB / 274.5 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.002778, allocations: 111.5 kB / 274.6 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.002847, allocations: 4 kB / 274.6 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.002877, allocations: 3.938 kB / 274.6 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.002915, allocations: 0 / 274.6 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.003165, allocations: 23.91 kB / 274.6 MB, free: 128 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.003266, allocations: 23.92 kB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003367, allocations: 11.94 kB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.003423, allocations: 15.97 kB / 274.7 MB, free: 76 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.003456, allocations: 7.984 kB / 274.7 MB, free: 68 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.003484, allocations: 4 kB / 274.7 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.003493, allocations: 4 kB / 274.7 MB, free: 60 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.003514, allocations: 7.938 kB / 274.7 MB, free: 52 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.003542, allocations: 4 kB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.003627, allocations: 23.91 kB / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00363, allocations: 0 / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.003632, allocations: 0 / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.003637, allocations: 0 / 274.7 MB, free: 24 kB / 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.0004412/0.004078, allocations: 368.5 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.004143, allocations: 11.98 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.004198, allocations: 8.891 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.004411, allocations: 128.5 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.00444, allocations: 4.375 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.004453, allocations: 4.375 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.004782, allocations: 102.2 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004791, allocations: 192 / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.004805, allocations: 4.375 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.004817, allocations: 384 / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.004859, allocations: 11.92 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.004988, allocations: 120.6 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.005079, allocations: 47.02 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.00511, allocations: 11.69 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.005126, allocations: 0 / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.005148, allocations: 37.39 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005149, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001474/0.005297, allocations: 53.69 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.005339, allocations: 55.41 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.005415, allocations: 177.8 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.005424, allocations: 25.7 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.005461, allocations: 130.9 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.005463, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.005487, allocations: 23.36 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.005599, allocations: 496.1 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.005604, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.005609, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.00564, allocations: 119.2 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.005667, allocations: 119.2 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.814e-05/0.005705, allocations: 29.7 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.005744, allocations: 130 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.005775, allocations: 123.1 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.89e-05/0.005834, allocations: 242.4 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-05/0.005862, allocations: 127.1 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.512e-05/0.005917, allocations: 246.4 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.00597, allocations: 123.1 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.005997, allocations: 127.1 kB / 277.8 MB, free: 12.66 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.54e-05/0.006092, allocations: 275.8 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.006145, allocations: 45.69 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.006176, allocations: 7.688 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006178, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006182, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.006186, allocations: 7.938 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.65e-05/0.006243, allocations: 116.6 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.006246, allocations: 0 / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.006295, allocations: 4.25 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006298, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.006306, allocations: 7.938 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.006309, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00631, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.006387, allocations: 88.61 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.006395, allocations: 7.938 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.006407, allocations: 4.031 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.006429, allocations: 7.984 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.006431, allocations: 0 / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.006436, allocations: 0 / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.006472, allocations: 123.2 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006472, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.00661, allocations: 8 kB / 278.5 MB, free: 11.9 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 9.399e-05/0.006704, allocations: 99.19 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.006779, allocations: 11.92 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.006781, allocations: 0 / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.006782, allocations: 4 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.006994, allocations: 13.98 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.007288, allocations: 117.2 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.007334, allocations: 59.34 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.669e-06/0.007343, allocations: 0 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.007376, allocations: 8.5 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007376, allocations: 0 / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Templates: time 0.001969/0.009345, allocations: 306.6 kB / 279.1 MB, free: 11.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.8734136540442705]