Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.000976/0.000976, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001086/0.001086, allocations: 170.5 kB / 24.82 MB, free: 9.301 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.072/1.072, allocations: 177.1 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.854e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002219/0.002247, allocations: 1.517 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.002505, allocations: 103.5 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.002567, allocations: 0 / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002592, allocations: 3.938 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.002636, allocations: 11.92 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.002849, allocations: 23.92 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.002922, allocations: 23.92 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.003008, allocations: 11.98 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.003058, allocations: 15.92 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.003095, allocations: 7.984 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003112, allocations: 0 / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.003119, allocations: 4 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.003136, allocations: 4 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.003157, allocations: 7.938 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.903e-05/0.003226, allocations: 19.91 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.00323, allocations: 12 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.003232, allocations: 3.984 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.003236, allocations: 0 / 275.2 MB, free: 15.52 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.000295/0.003531, allocations: 356.6 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.003567, allocations: 12.03 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.003593, allocations: 8.891 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003709, allocations: 128.5 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003718, allocations: 4.375 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.003726, allocations: 4.375 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.003894, allocations: 102.2 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.0039, allocations: 192 / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.003906, allocations: 384 / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.003909, allocations: 384 / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.003928, allocations: 15.91 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.721e-05/0.004005, allocations: 101.2 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.004065, allocations: 47.02 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.004084, allocations: 11.73 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.004103, allocations: 11.98 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004121, allocations: 37.39 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004122, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.599e-05/0.004218, allocations: 45.69 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.004249, allocations: 59.34 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.00431, allocations: 165.9 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004319, allocations: 29.7 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.004368, allocations: 130.9 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.004369, allocations: 0 / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.004386, allocations: 15.38 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004495, allocations: 0.4961 MB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.004499, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.004503, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.00453, allocations: 119.2 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.004555, allocations: 119.2 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.278e-05/0.004588, allocations: 29.7 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.004624, allocations: 127.2 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.004651, allocations: 127.1 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.572e-05/0.004707, allocations: 238.4 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/0.004733, allocations: 123.1 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.156e-05/0.004785, allocations: 246.4 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.004832, allocations: 123.2 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.004862, allocations: 127.1 kB / 278.3 MB, free: 12.2 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 8.624e-05/0.004948, allocations: 275.8 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.005007, allocations: 45.64 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.005033, allocations: 11.94 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005035, allocations: 0 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.005037, allocations: 0 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.00504, allocations: 3.984 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.433e-05/0.005095, allocations: 101.1 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.005097, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.00516, allocations: 11.94 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.005163, allocations: 4 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.00517, allocations: 7.984 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005171, allocations: 0 / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005172, allocations: 0 / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.232e-05/0.005214, allocations: 64.39 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.005223, allocations: 7.953 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.00523, allocations: 240 / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.005239, allocations: 0 / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.005242, allocations: 0 / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.005251, allocations: 8.219 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.00529, allocations: 135.2 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00529, allocations: 0 / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001266/0.005417, allocations: 8 kB / 278.9 MB, free: 11.46 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 8.461e-05/0.005501, allocations: 99.19 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.377e-05/0.005545, allocations: 7.984 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005546, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.005547, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.005691, allocations: 15.98 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.005892, allocations: 121.2 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.005922, allocations: 59.34 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.713e-06/0.005929, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.005962, allocations: 70.14 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005963, allocations: 0 / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Templates: time 0.001674/0.007637, allocations: 310.8 kB / 279.6 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.82598299626261]