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.00175/0.00175, allocations: 84.61 kB / 20.95 MB, free: 332 kB / 14.72 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.00221/0.00221, allocations: 149.4 kB / 24.25 MB, free: 3.27 MB / 14.72 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.589/1.589, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] 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 2.004e-06/2.004e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.241e-05, allocations: 2.312 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003038/0.003081, allocations: 1.439 MB / 268.7 MB, free: 8.754 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.003421, allocations: 111.6 kB / 268.8 MB, free: 8.645 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.003484, allocations: 0 / 268.8 MB, free: 8.645 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.003517, allocations: 3.938 kB / 268.8 MB, free: 8.641 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.003559, allocations: 7.922 kB / 268.9 MB, free: 8.633 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.003822, allocations: 19.92 kB / 268.9 MB, free: 8.613 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.003929, allocations: 27.92 kB / 268.9 MB, free: 8.586 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004034, allocations: 11.98 kB / 268.9 MB, free: 8.574 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.004091, allocations: 11.94 kB / 268.9 MB, free: 8.562 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.004139, allocations: 11.97 kB / 268.9 MB, free: 8.551 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004163, allocations: 0 / 268.9 MB, free: 8.551 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.004173, allocations: 4 kB / 268.9 MB, free: 8.547 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.004195, allocations: 8 kB / 268.9 MB, free: 8.539 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.004221, allocations: 7.938 kB / 269 MB, free: 8.531 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.004327, allocations: 31.89 kB / 269 MB, free: 8.5 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.00433, allocations: 0 / 269 MB, free: 8.5 MB / 254.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004331, allocations: 0 / 269 MB, free: 8.5 MB / 254.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.00434, allocations: 0 / 269 MB, free: 8.5 MB / 254.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.0004881/0.004828, allocations: 266.2 kB / 269.2 MB, free: 8.207 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.004869, allocations: 8.031 kB / 269.3 MB, free: 8.199 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.004919, allocations: 8.875 kB / 269.3 MB, free: 8.191 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.005184, allocations: 129.7 kB / 269.4 MB, free: 8.039 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.005197, allocations: 4.375 kB / 269.4 MB, free: 8.035 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.005213, allocations: 8.359 kB / 269.4 MB, free: 8.027 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.005582, allocations: 107.8 kB / 269.5 MB, free: 7.91 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.00559, allocations: 4.188 kB / 269.5 MB, free: 7.906 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.0056, allocations: 384 / 269.5 MB, free: 7.906 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005605, allocations: 384 / 269.5 MB, free: 7.906 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.005694, allocations: 23.92 kB / 269.5 MB, free: 7.883 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.005827, allocations: 97.33 kB / 269.6 MB, free: 7.758 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.006006, allocations: 58.48 kB / 269.7 MB, free: 7.691 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.006084, allocations: 20.92 kB / 269.7 MB, free: 7.668 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.006109, allocations: 4 kB / 269.7 MB, free: 7.664 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.006143, allocations: 34.56 kB / 269.7 MB, free: 7.621 MB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006144, allocations: 0 / 269.7 MB, free: 7.621 MB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002614/0.006405, allocations: 69.62 kB / 269.8 MB, free: 7.547 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.006474, allocations: 63.39 kB / 269.9 MB, free: 7.473 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.006589, allocations: 105.8 kB / 270 MB, free: 7.359 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.00661, allocations: 29.64 kB / 270 MB, free: 7.324 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.006666, allocations: 88.12 kB / 270.1 MB, free: 7.234 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.006668, allocations: 0 / 270.1 MB, free: 7.234 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.006699, allocations: 13.72 kB / 270.1 MB, free: 7.215 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.006878, allocations: 310.8 kB / 270.4 MB, free: 6.902 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-06/0.006883, allocations: 0 / 270.4 MB, free: 6.902 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-06/0.006886, allocations: 0 / 270.4 MB, free: 6.902 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.006925, allocations: 79.28 kB / 270.5 MB, free: 6.824 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-05/0.006961, allocations: 75.28 kB / 270.6 MB, free: 6.75 MB / 254.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.637e-05/0.007038, allocations: 33.7 kB / 270.6 MB, free: 6.711 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.007089, allocations: 83.28 kB / 270.7 MB, free: 6.629 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/0.007133, allocations: 83.2 kB / 270.8 MB, free: 6.547 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.341e-05/0.007226, allocations: 150.6 kB / 270.9 MB, free: 6.398 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.608e-05/0.007262, allocations: 79.28 kB / 271 MB, free: 6.32 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-05/0.007341, allocations: 154.6 kB / 271.1 MB, free: 6.168 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.007427, allocations: 83.23 kB / 271.2 MB, free: 6.086 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.00747, allocations: 83.22 kB / 271.3 MB, free: 6.004 MB / 254.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: 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.0001377/0.007607, allocations: 185.1 kB / 271.5 MB, free: 5.812 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.007757, allocations: 69.56 kB / 271.5 MB, free: 5.738 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.007791, allocations: 8.25 kB / 271.6 MB, free: 5.723 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007793, allocations: 0 / 271.6 MB, free: 5.723 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.007801, allocations: 8 kB / 271.6 MB, free: 5.715 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.007807, allocations: 3.938 kB / 271.6 MB, free: 5.711 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.698e-05/0.007904, allocations: 105.5 kB / 271.7 MB, free: 5.578 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.007908, allocations: 0 / 271.7 MB, free: 5.578 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.007998, allocations: 4 kB / 271.7 MB, free: 5.574 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.008003, allocations: 0 / 271.7 MB, free: 5.574 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.008015, allocations: 11.97 kB / 271.7 MB, free: 5.562 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.008021, allocations: 3.938 kB / 271.7 MB, free: 5.559 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008022, allocations: 4 kB / 271.7 MB, free: 5.555 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.008198, allocations: 81.06 kB / 271.8 MB, free: 5.457 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.00822, allocations: 15.88 kB / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008235, allocations: 0 / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.00826, allocations: 0 / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-06/0.008264, allocations: 4 kB / 271.8 MB, free: 5.438 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.00827, allocations: 0 / 271.8 MB, free: 5.438 MB / 254.1 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.008328, allocations: 83.28 kB / 271.9 MB, free: 5.355 MB / 254.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008328, allocations: 0 / 271.9 MB, free: 5.355 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.008562, allocations: 4 kB / 271.9 MB, free: 5.352 MB / 254.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: 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.0001343/0.008696, allocations: 107.2 kB / 272 MB, free: 5.238 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 9.953e-05/0.008796, allocations: 19.92 kB / 272 MB, free: 5.219 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008798, allocations: 0 / 272 MB, free: 5.219 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.008799, allocations: 0 / 272 MB, free: 5.219 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.009059, allocations: 17.12 kB / 272 MB, free: 5.199 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.009384, allocations: 111.5 kB / 272.1 MB, free: 5.066 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.009475, allocations: 67.33 kB / 272.2 MB, free: 4.98 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 1.387e-05/0.009489, allocations: 4 kB / 272.2 MB, free: 4.977 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.009524, allocations: 12.5 kB / 272.2 MB, free: 4.965 MB / 254.1 MB Notification: Performance of SimCode: time 7.41e-07/0.009524, allocations: 0 / 272.2 MB, free: 4.965 MB / 254.1 MB Notification: Performance of Templates: time 0.002938/0.01246, allocations: 298.5 kB / 272.5 MB, free: 4.676 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.302781660109758]