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.001334/0.001334, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001746/0.001746, allocations: 137.5 kB / 24.97 MB, free: 9.348 MB / 18.57 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.04/1.04, allocations: 173.3 MB / 201.5 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 3.938 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.739e-05, allocations: 2.312 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002148/0.002176, allocations: 1.478 MB / 269.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.002429, allocations: 103.5 kB / 269.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.002488, allocations: 4 kB / 269.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002514, allocations: 3.938 kB / 269.7 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.002546, allocations: 3.984 kB / 269.7 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.002775, allocations: 19.92 kB / 269.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.002858, allocations: 27.86 kB / 269.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.002951, allocations: 11.98 kB / 269.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.002995, allocations: 12 kB / 269.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.003034, allocations: 11.97 kB / 269.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.003054, allocations: 7.938 kB / 269.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.003061, allocations: 0 / 269.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.003078, allocations: 4 kB / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.003104, allocations: 8 kB / 269.8 MB, free: 5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.087e-05/0.003185, allocations: 27.78 kB / 269.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.003188, allocations: 3.984 kB / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003189, allocations: 0 / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003193, allocations: 0 / 269.8 MB, free: 4.969 MB / 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.0003249/0.003518, allocations: 368.6 kB / 270.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.003553, allocations: 12.03 kB / 270.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.00359, allocations: 8.922 kB / 270.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.003747, allocations: 124.5 kB / 270.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.003756, allocations: 4.375 kB / 270.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.003765, allocations: 384 / 270.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.003978, allocations: 102.2 kB / 270.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.003983, allocations: 4.188 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.003993, allocations: 4.359 kB / 270.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003999, allocations: 384 / 270.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.004025, allocations: 7.938 kB / 270.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.291e-05/0.004118, allocations: 116.6 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.004193, allocations: 43 kB / 270.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.004223, allocations: 19.75 kB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004238, allocations: 0 / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.004258, allocations: 41.39 kB / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004259, allocations: 0 / 270.6 MB, free: 3.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001349/0.004394, allocations: 53.64 kB / 270.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.004434, allocations: 63.34 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.004507, allocations: 169.9 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.004515, allocations: 25.7 kB / 270.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.004554, allocations: 130.9 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.004556, allocations: 0 / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.004577, allocations: 23.31 kB / 271.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.00469, allocations: 496.1 kB / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.004695, allocations: 0 / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-06/0.004698, allocations: 0 / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.004725, allocations: 119.2 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.004751, allocations: 123.2 kB / 271.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.599e-05/0.004786, allocations: 29.7 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.004822, allocations: 127.2 kB / 272 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.004851, allocations: 123.1 kB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.877e-05/0.00491, allocations: 242.4 kB / 272.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.579e-05/0.004936, allocations: 127.1 kB / 272.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.228e-05/0.004988, allocations: 242.4 kB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.00504, allocations: 123.4 kB / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.005067, allocations: 123.1 kB / 272.9 MB, free: 1.617 MB / 250.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.506e-05/0.005152, allocations: 279.8 kB / 273.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.005208, allocations: 49.64 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.005236, allocations: 12.23 kB / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.005238, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.005241, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.005247, allocations: 11.92 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.25e-05/0.0053, allocations: 116.6 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.005304, allocations: 4 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.005373, allocations: 7.938 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.005375, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005381, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005383, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005384, allocations: 8 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.889e-05/0.005453, allocations: 80.38 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.005463, allocations: 11.94 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.005472, allocations: 0 / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.005483, allocations: 0 / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-06/0.005487, allocations: 4 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.005492, allocations: 0 / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.655e-05/0.005529, allocations: 127.2 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005529, allocations: 0 / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.005669, allocations: 4 kB / 273.6 MB, free: 0.832 MB / 250.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 8.821e-05/0.005757, allocations: 107.1 kB / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.846e-05/0.005806, allocations: 15.94 kB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.005808, allocations: 0 / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.005808, allocations: 0 / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.005985, allocations: 9.125 kB / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.006218, allocations: 121.2 kB / 273.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.006251, allocations: 55.36 kB / 273.9 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.006259, allocations: 0 / 273.9 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.00628, allocations: 8.5 kB / 273.9 MB, free: 476 kB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006281, allocations: 4 kB / 273.9 MB, free: 472 kB / 250.7 MB Notification: Performance of Templates: time 0.00183/0.008111, allocations: 310 kB / 274.2 MB, free: 168 kB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.7996732271276414]