Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001802/0.001802, allocations: 86.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002218/0.002218, allocations: 165.4 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.514/1.514, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.853e-05, allocations: 7.375 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002533/0.002561, allocations: 1.455 MB / 326.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.00276, allocations: 25.81 kB / 326.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.00282, allocations: 1.5 kB / 326.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.002853, allocations: 4.641 kB / 326.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.002891, allocations: 8.625 kB / 326.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.003142, allocations: 23.78 kB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.003241, allocations: 30.59 kB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003348, allocations: 13.08 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.003411, allocations: 13.27 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.003455, allocations: 13.56 kB / 326.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.00348, allocations: 7.25 kB / 326.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.00349, allocations: 2.281 kB / 326.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.00351, allocations: 6.406 kB / 326.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.003541, allocations: 8.875 kB / 326.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.003639, allocations: 29.7 kB / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003642, allocations: 0 / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003642, allocations: 0 / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.003652, allocations: 0.8906 kB / 326.7 MB, free: 15.46 MB / 302.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.0004713/0.004123, allocations: 269 kB / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.004162, allocations: 11.06 kB / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.004197, allocations: 10.08 kB / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.004408, allocations: 115.8 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.004431, allocations: 3.156 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.004449, allocations: 6.531 kB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.004836, allocations: 120.3 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004846, allocations: 5.312 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.004855, allocations: 0.9375 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.004861, allocations: 1.594 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.004984, allocations: 29.48 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.005121, allocations: 106.9 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.005313, allocations: 54.55 kB / 327.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.005416, allocations: 27.23 kB / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.005429, allocations: 0 / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.005462, allocations: 39.09 kB / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.005463, allocations: 0 / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002966/0.005759, allocations: 84.41 kB / 327.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.005832, allocations: 58.83 kB / 327.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.005963, allocations: 108 kB / 327.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.005984, allocations: 27.5 kB / 327.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.006043, allocations: 85.84 kB / 327.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.006055, allocations: 5.031 kB / 327.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006089, allocations: 13.39 kB / 327.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.006276, allocations: 314.2 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.006291, allocations: 6 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.006303, allocations: 6.484 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.006336, allocations: 11.77 kB / 328.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006339, allocations: 0.75 kB / 328.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.838e-05/0.006407, allocations: 43.97 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.006423, allocations: 5.562 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006429, allocations: 0.5156 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.006445, allocations: 0 / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.006499, allocations: 3.953 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.006505, allocations: 1.125 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.006524, allocations: 8.781 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-06/0.006529, allocations: 1.125 kB / 328.3 MB, free: 14.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001003/0.006629, allocations: 117.2 kB / 328.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.006797, allocations: 63.72 kB / 328.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.006828, allocations: 9.953 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00683, allocations: 5.312 kB / 328.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.006835, allocations: 0.7031 kB / 328.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.006839, allocations: 3.938 kB / 328.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.006929, allocations: 104 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006931, allocations: 0 / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.006996, allocations: 10.83 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006999, allocations: 1.281 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.00701, allocations: 8.609 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.007013, allocations: 1.031 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007014, allocations: 0 / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.007239, allocations: 96.23 kB / 328.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.007251, allocations: 7.219 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.007269, allocations: 0 / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.007305, allocations: 5.391 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.007308, allocations: 0 / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.007314, allocations: 2.047 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.007373, allocations: 85.73 kB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.007373, allocations: 1.062 kB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.007559, allocations: 7.094 kB / 328.8 MB, free: 13.53 MB / 302.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: 4 (assignClock1.u,assignClock1.y,step.y,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 0.0001328/0.007692, allocations: 99.73 kB / 328.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.007831, allocations: 21.88 kB / 328.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.007834, allocations: 1.375 kB / 328.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.007835, allocations: 0 / 328.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.008145, allocations: 32.38 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.008477, allocations: 118 kB / 329 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.008546, allocations: 69.78 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.028e-05/0.008566, allocations: 2.094 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.008598, allocations: 9.938 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.008598, allocations: 0 / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002908/0.01151, allocations: 439.4 kB / 329.6 MB, free: 13.15 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.287041392177343]