Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001156/0.001156, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001287/0.001287, allocations: 169.3 kB / 24.82 MB, free: 8.867 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 1.065/1.065, allocations: 177.2 MB / 205.3 MB, free: 5.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.712e-05, allocations: 10.25 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.005468/0.005495, allocations: 1.501 MB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001949/0.00569, allocations: 31.84 kB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.005755, allocations: 0 / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.005786, allocations: 3.938 kB / 275 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.005837, allocations: 11.94 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.006054, allocations: 19.92 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.006131, allocations: 27.91 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.006221, allocations: 11.98 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.006281, allocations: 23.86 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.006318, allocations: 8 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.006335, allocations: 0 / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.006344, allocations: 4 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.006364, allocations: 7.969 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.00639, allocations: 11.94 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.006468, allocations: 19.98 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.006472, allocations: 4 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006473, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006476, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.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.0003225/0.006799, allocations: 368.6 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.00684, allocations: 12.03 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.006867, allocations: 12.83 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.006997, allocations: 120.6 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.007012, allocations: 4.375 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.007019, allocations: 384 / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.0102, allocations: 118.1 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.01021, allocations: 192 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.01022, allocations: 384 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.01022, allocations: 384 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.01024, allocations: 7.938 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.924e-05/0.01033, allocations: 109.1 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.01038, allocations: 39.03 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.01041, allocations: 19.66 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.01041, allocations: 4 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01043, allocations: 37.39 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.01044, allocations: 0 / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001279/0.01056, allocations: 45.73 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.0106, allocations: 59.41 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.01067, allocations: 165.9 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.01068, allocations: 25.7 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.01071, allocations: 130.9 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.01072, allocations: 0 / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.01075, allocations: 27.3 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01089, allocations: 0.4883 MB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.0109, allocations: 4 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.01091, allocations: 4 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.01093, allocations: 11.67 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01093, allocations: 4 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.481e-05/0.01099, allocations: 41.64 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.011, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.011, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01101, allocations: 3.938 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.01106, allocations: 7.938 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.01106, allocations: 4.094 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.01107, allocations: 0 / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.01108, allocations: 3.938 kB / 277 MB, free: 13.53 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: 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 7.11e-05/0.01115, allocations: 160.6 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.01121, allocations: 41.69 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.01123, allocations: 8.234 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01123, allocations: 0 / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01124, allocations: 3.984 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01124, allocations: 0 / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.461e-05/0.0113, allocations: 105.2 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0113, allocations: 4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.01135, allocations: 8 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01136, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.01136, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01136, allocations: 3.984 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01137, allocations: 3.938 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.135e-05/0.01142, allocations: 72.34 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.01142, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.01144, allocations: 4 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.01146, allocations: 4.25 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.01146, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.01147, allocations: 11.98 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.01151, allocations: 123.2 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.0117, allocations: 4 kB / 277.5 MB, free: 12.91 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: 1 (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 9.95e-05/0.0118, allocations: 95.25 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.01188, allocations: 27.61 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01188, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.01188, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01209, allocations: 16.33 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.01232, allocations: 136.8 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.01235, allocations: 55.36 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.627e-05/0.01237, allocations: 3.984 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.01241, allocations: 70.2 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01241, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.005209/0.01762, allocations: 488.6 kB / 278.4 MB, free: 11.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.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.913547568023205]