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.0008375/0.0008375, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002211, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008662/0.0008662, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002155, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9007/0.9007, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1628/1.064, allocations: 52.5 MB / 238.5 MB, free: 7.625 MB / 234.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.713e-06/1.713e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.616e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003074/0.0031, allocations: 1.52 MB / 241.3 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.003326, allocations: 104.3 kB / 241.4 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.003388, allocations: 7.938 kB / 241.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.003412, allocations: 0.6875 kB / 241.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.617e-05/0.003439, allocations: 7.875 kB / 241.4 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003604, allocations: 24.59 kB / 241.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.003699, allocations: 24.61 kB / 241.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.003793, allocations: 8 kB / 241.4 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.003871, allocations: 26.36 kB / 241.5 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.003922, allocations: 11.97 kB / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.003947, allocations: 0 / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.003957, allocations: 4 kB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.003986, allocations: 7.938 kB / 241.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.004009, allocations: 4 kB / 241.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.004109, allocations: 19.92 kB / 241.5 MB, free: 4.613 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.00412, allocations: 1.438 kB / 241.5 MB, free: 4.613 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004121, allocations: 0 / 241.5 MB, free: 4.613 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.004135, allocations: 4 kB / 241.5 MB, free: 4.609 MB / 234.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.0003715/0.004506, allocations: 245.3 kB / 241.7 MB, free: 4.344 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004545, allocations: 12.03 kB / 241.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.004578, allocations: 0.9375 kB / 241.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004747, allocations: 122.8 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004758, allocations: 384 / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.004771, allocations: 7.5 kB / 241.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.004982, allocations: 112.4 kB / 242 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.00499, allocations: 4.188 kB / 242 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.004997, allocations: 384 / 242 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005004, allocations: 384 / 242 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.005025, allocations: 13.25 kB / 242 MB, free: 4.043 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.516e-05/0.005101, allocations: 57.03 kB / 242.1 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.005177, allocations: 30.56 kB / 242.1 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.005201, allocations: 13.88 kB / 242.1 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.005216, allocations: 4 kB / 242.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.005244, allocations: 38.55 kB / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005246, allocations: 3.031 kB / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001216/0.005367, allocations: 45.62 kB / 242.2 MB, free: 3.816 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.005416, allocations: 55.41 kB / 242.3 MB, free: 3.75 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.005494, allocations: 106.7 kB / 242.4 MB, free: 3.633 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005506, allocations: 29.7 kB / 242.4 MB, free: 3.598 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.005531, allocations: 88.06 kB / 242.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.005533, allocations: 0 / 242.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.005558, allocations: 13.72 kB / 242.5 MB, free: 3.488 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.005652, allocations: 319.7 kB / 242.8 MB, free: 3.168 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-06/0.005656, allocations: 0 / 242.8 MB, free: 3.168 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.005661, allocations: 0 / 242.8 MB, free: 3.168 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.005685, allocations: 76.19 kB / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.005706, allocations: 83.22 kB / 243 MB, free: 3.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.331e-05/0.005759, allocations: 27.48 kB / 243 MB, free: 2.98 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.005794, allocations: 83.28 kB / 243.1 MB, free: 2.898 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.005815, allocations: 75.28 kB / 243.1 MB, free: 2.824 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.292e-05/0.005868, allocations: 154.5 kB / 243.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.192e-05/0.00589, allocations: 79.28 kB / 243.4 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-05/0.005933, allocations: 159.1 kB / 243.5 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.005994, allocations: 79.27 kB / 243.6 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.006013, allocations: 75.97 kB / 243.7 MB, free: 2.285 MB / 234.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.14e-05/0.006094, allocations: 195 kB / 243.9 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.006153, allocations: 41.62 kB / 243.9 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.006184, allocations: 4 kB / 243.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006186, allocations: 4 kB / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006188, allocations: 0 / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006191, allocations: 1.469 kB / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.349e-05/0.006254, allocations: 73.83 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.006257, allocations: 0 / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.006342, allocations: 8 kB / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.00635, allocations: 0.625 kB / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006353, allocations: 0 / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006357, allocations: 0.5938 kB / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.00636, allocations: 4.562 kB / 244 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.006362, allocations: 256 / 244 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.405e-05/0.006416, allocations: 62.66 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.006428, allocations: 4 kB / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.006444, allocations: 0 / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.006447, allocations: 0 / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.006454, allocations: 4.5 kB / 244.1 MB, free: 1.836 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.006478, allocations: 16.84 kB / 244.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006478, allocations: 4.781 kB / 244.1 MB, free: 1.812 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.006655, allocations: 0 / 244.1 MB, free: 1.812 MB / 234.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.0001046/0.006759, allocations: 78.05 kB / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.738e-05/0.006817, allocations: 12.22 kB / 244.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.006821, allocations: 0 / 244.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.006822, allocations: 4 kB / 244.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.006971, allocations: 25.22 kB / 244.2 MB, free: 1.688 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.007412, allocations: 119.3 kB / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.007452, allocations: 63.34 kB / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.271e-05/0.007464, allocations: 0 / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.007509, allocations: 47.38 kB / 244.4 MB, free: 1.418 MB / 234.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007509, allocations: 0 / 244.4 MB, free: 1.418 MB / 234.7 MB Notification: Performance of Templates: time 0.002322/0.009831, allocations: 325.3 kB / 244.8 MB, free: 1.102 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.439433492720127]