Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002027/0.002027, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002434/0.002434, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.652e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00445/0.004487, allocations: 1.459 MB / 273.7 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004133/0.0049, allocations: 99.69 kB / 273.8 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.004984, allocations: 3.938 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.005019, allocations: 0 / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.005076, allocations: 11.86 kB / 273.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.00539, allocations: 15.98 kB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.00552, allocations: 31.86 kB / 273.8 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005646, allocations: 7.984 kB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.005729, allocations: 8 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.005797, allocations: 23.91 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.005829, allocations: 4 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.00584, allocations: 0 / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.005865, allocations: 0 / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.005918, allocations: 11.94 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.00605, allocations: 31.88 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.006056, allocations: 0 / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.006058, allocations: 0 / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.006064, allocations: 0 / 273.9 MB, free: 104 kB / 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.0006101/0.006674, allocations: 266.3 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.006735, allocations: 11.98 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.006798, allocations: 12.89 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.007134, allocations: 117.8 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.007149, allocations: 384 / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.007166, allocations: 4.375 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.007884, allocations: 111.8 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.007893, allocations: 192 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.007904, allocations: 4.375 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.00791, allocations: 384 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.27e-05/0.008003, allocations: 27.84 kB / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.008162, allocations: 105.3 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.008391, allocations: 50.55 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.008498, allocations: 24.92 kB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.008544, allocations: 0 / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.008588, allocations: 34.5 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.008589, allocations: 4 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003606/0.00895, allocations: 69.67 kB / 274.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.009031, allocations: 59.39 kB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.009193, allocations: 106 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.009224, allocations: 25.7 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.009288, allocations: 84.12 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.00929, allocations: 4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.00932, allocations: 13.72 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.009564, allocations: 310.8 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.009574, allocations: 3.938 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.009581, allocations: 12.06 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.009639, allocations: 75.28 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-05/0.009699, allocations: 75.28 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.001e-05/0.009789, allocations: 29.7 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.009863, allocations: 79.28 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.52e-05/0.009928, allocations: 83.2 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.01006, allocations: 158.6 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.01011, allocations: 75.28 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.01023, allocations: 154.5 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01039, allocations: 83.22 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.01046, allocations: 83.22 kB / 276.2 MB, free: 13.61 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 0.0001985/0.01066, allocations: 185.1 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.01085, allocations: 61.62 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.01088, allocations: 8 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.01089, allocations: 4 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01089, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.0109, allocations: 3.938 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.01104, allocations: 101.3 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.01104, allocations: 0 / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01115, allocations: 4 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01116, allocations: 11.94 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01117, allocations: 4 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.01118, allocations: 3.984 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01118, allocations: 0 / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.01142, allocations: 81 kB / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01144, allocations: 20.16 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01146, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.0115, allocations: 4 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-06/0.0115, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01151, allocations: 3.984 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.0116, allocations: 87.28 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0116, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.01198, allocations: 8 kB / 276.8 MB, free: 12.96 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: 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.0002174/0.0122, allocations: 103.2 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.01231, allocations: 8 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01231, allocations: 3.938 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.01231, allocations: 0 / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.01271, allocations: 25.11 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01314, allocations: 122.2 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.01324, allocations: 67.33 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.01326, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.0133, allocations: 8.5 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0133, allocations: 0 / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.003753/0.01706, allocations: 306.5 kB / 277.4 MB, free: 12.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.333059769007377]