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.001941/0.001941, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 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.001667/0.001667, allocations: 189.4 kB / 23.72 MB, free: 4.68 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.551/1.551, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.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.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 0.002287/0.002287, allocations: 43.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3362, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003461/0.3396, allocations: 1.467 MB / 424.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.34, allocations: 91.69 kB / 424.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.3401, allocations: 4 kB / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.3402, allocations: 11.92 kB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.3402, allocations: 3.938 kB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3406, allocations: 15.97 kB / 424.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3407, allocations: 23.94 kB / 424.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.3409, allocations: 11.98 kB / 424.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.3409, allocations: 11.94 kB / 424.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.341, allocations: 11.92 kB / 424.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.341, allocations: 0 / 424.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.341, allocations: 4 kB / 424.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.3411, allocations: 7.984 kB / 424.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.3411, allocations: 23.81 kB / 424.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3413, allocations: 25.45 kB / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3413, allocations: 0 / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3413, allocations: 0 / 424.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3413, allocations: 0 / 424.8 MB, free: 12.95 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.0006172/0.3419, allocations: 274 kB / 425.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.342, allocations: 12.03 kB / 425.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.342, allocations: 0.9375 kB / 425.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3424, allocations: 130.4 kB / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3424, allocations: 384 / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3424, allocations: 4.375 kB / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.3428, allocations: 103.9 kB / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3428, allocations: 192 / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3428, allocations: 7.938 kB / 425.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3428, allocations: 4 kB / 425.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.3429, allocations: 15.92 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3431, allocations: 136.7 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3433, allocations: 46.56 kB / 425.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.3433, allocations: 20.92 kB / 425.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3434, allocations: 8 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3434, allocations: 42.48 kB / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3434, allocations: 0 / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.3437, allocations: 73.5 kB / 425.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.3437, allocations: 55.41 kB / 425.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3438, allocations: 109.8 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3438, allocations: 25.7 kB / 425.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3439, allocations: 92.14 kB / 426 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.3439, allocations: 0 / 426 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3439, allocations: 17.72 kB / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3441, allocations: 314.8 kB / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.3441, allocations: 4 kB / 426.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.3441, allocations: 27.44 kB / 426.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.3442, allocations: 35.38 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3442, allocations: 0 / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.147e-05/0.3443, allocations: 57.84 kB / 426.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3443, allocations: 8 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3443, allocations: 4.062 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3443, allocations: 4 kB / 426.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.3444, allocations: 8 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3444, allocations: 3.984 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.3445, allocations: 7.984 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3445, allocations: 0 / 426.4 MB, free: 11.11 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001196/0.3446, allocations: 113.8 kB / 426.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3447, allocations: 57.58 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.3448, allocations: 15.94 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3448, allocations: 7.984 kB / 426.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3448, allocations: 0 / 426.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3448, allocations: 0 / 426.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3449, allocations: 124.8 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3449, allocations: 0 / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.3449, allocations: 8 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3449, allocations: 3.984 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.345, allocations: 3.938 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.345, allocations: 0 / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.345, allocations: 0 / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.3451, allocations: 85.06 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.3451, allocations: 15.88 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3452, allocations: 3.938 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.3452, allocations: 7.938 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-06/0.3452, allocations: 0 / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3452, allocations: 256 / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6e-05/0.3452, allocations: 91.27 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 4 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.3454, allocations: 4 kB / 427 MB, free: 10.49 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: 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 0.0001222/0.3456, allocations: 95.25 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3457, allocations: 23.92 kB / 427.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3457, allocations: 4 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3457, allocations: 0 / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.346, allocations: 24.25 kB / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.3463, allocations: 124.8 kB / 427.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3467, allocations: 0.6844 MB / 427.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.3467, allocations: 0 / 427.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.3467, allocations: 7.438 kB / 427.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3467, allocations: 0 / 427.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of Templates: time 0.003168/0.3499, allocations: 340.6 kB / 428.3 MB, free: 9.145 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.874529778957367]