Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007302/0.0007302, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001829, 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.000658/0.000658, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009789/0.001637, 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.834/0.834, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1493/0.9833, allocations: 52.48 MB / 238.5 MB, free: 7.637 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.921e-05, allocations: 6.906 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002738/0.002757, allocations: 1.56 MB / 241.3 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.002928, allocations: 99.62 kB / 241.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.002966, allocations: 1.094 kB / 241.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.002986, allocations: 7.922 kB / 241.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.00301, allocations: 7.875 kB / 241.4 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.00313, allocations: 27.03 kB / 241.5 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.003201, allocations: 23.94 kB / 241.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.003268, allocations: 11.97 kB / 241.5 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.003325, allocations: 19.92 kB / 241.5 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.003357, allocations: 4 kB / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.003377, allocations: 4 kB / 241.5 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.003385, allocations: 0 / 241.5 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.003405, allocations: 7.938 kB / 241.5 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003425, allocations: 9.281 kB / 241.5 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.047e-05/0.003496, allocations: 23.84 kB / 241.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.003503, allocations: 0 / 241.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003503, allocations: 0 / 241.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.003514, allocations: 1.062 kB / 241.6 MB, free: 4.559 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.0002993/0.003813, allocations: 252.5 kB / 241.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.003842, allocations: 11.03 kB / 241.8 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.00387, allocations: 4.938 kB / 241.8 MB, free: 4.273 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004006, allocations: 125.7 kB / 241.9 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.004014, allocations: 384 / 241.9 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.004025, allocations: 4.375 kB / 242 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.004194, allocations: 101.3 kB / 242 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004201, allocations: 192 / 242 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.004206, allocations: 1.594 kB / 242.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004212, allocations: 384 / 242.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.004231, allocations: 11.88 kB / 242.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.277e-05/0.004294, allocations: 62.02 kB / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.004354, allocations: 30.55 kB / 242.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.004375, allocations: 13.77 kB / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.004388, allocations: 0 / 242.2 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004408, allocations: 34.56 kB / 242.2 MB, free: 3.824 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004409, allocations: 1.781 kB / 242.2 MB, free: 3.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.53e-05/0.004504, allocations: 53.59 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.00454, allocations: 55.41 kB / 242.3 MB, free: 3.699 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.004595, allocations: 106.7 kB / 242.4 MB, free: 3.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.004605, allocations: 26.36 kB / 242.4 MB, free: 3.551 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.004631, allocations: 84.12 kB / 242.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.004632, allocations: 0.6875 kB / 242.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.004651, allocations: 13.72 kB / 242.5 MB, free: 3.445 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.004733, allocations: 320.7 kB / 242.8 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-06/0.004736, allocations: 256 / 242.8 MB, free: 3.125 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-06/0.004739, allocations: 0 / 242.8 MB, free: 3.125 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.004765, allocations: 83.28 kB / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.004784, allocations: 75.28 kB / 243 MB, free: 2.969 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.736e-05/0.004831, allocations: 31.11 kB / 243 MB, free: 2.934 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.00486, allocations: 87.27 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.004883, allocations: 79.27 kB / 243.2 MB, free: 2.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-05/0.004934, allocations: 158.5 kB / 243.4 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.004955, allocations: 79.91 kB / 243.4 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/0.004993, allocations: 150.6 kB / 243.6 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.005054, allocations: 79.81 kB / 243.7 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.005076, allocations: 79.81 kB / 243.7 MB, free: 2.23 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 6.838e-05/0.005144, allocations: 186.8 kB / 243.9 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.005189, allocations: 41.62 kB / 244 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.005216, allocations: 12 kB / 244 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005219, allocations: 3.984 kB / 244 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.00522, allocations: 1.156 kB / 244 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.005223, allocations: 0 / 244 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.267e-05/0.005275, allocations: 65.84 kB / 244 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.005277, allocations: 0 / 244 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.005341, allocations: 12.98 kB / 244 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.005346, allocations: 0 / 244 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.005349, allocations: 1 kB / 244 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.005354, allocations: 4 kB / 244.1 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005356, allocations: 0 / 244.1 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005356, allocations: 0.75 kB / 244.1 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.306e-05/0.005399, allocations: 61.02 kB / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.005408, allocations: 0.6875 kB / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.616e-05/0.005424, allocations: 3.984 kB / 244.1 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.005426, allocations: 4.719 kB / 244.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.00543, allocations: 0 / 244.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.636e-05/0.005447, allocations: 13.34 kB / 244.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005447, allocations: 0.8125 kB / 244.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.005634, allocations: 4 kB / 244.1 MB, free: 1.766 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: 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 6.772e-05/0.005702, allocations: 74.08 kB / 244.2 MB, free: 1.688 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.148e-05/0.005743, allocations: 19.92 kB / 244.2 MB, free: 1.668 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.005746, allocations: 0 / 244.2 MB, free: 1.668 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.005747, allocations: 4 kB / 244.2 MB, free: 1.664 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.005857, allocations: 17.09 kB / 244.3 MB, free: 1.645 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.006197, allocations: 123.3 kB / 244.4 MB, free: 1.5 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.006228, allocations: 55.36 kB / 244.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.006234, allocations: 0 / 244.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.006268, allocations: 47.38 kB / 244.5 MB, free: 1.379 MB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.006269, allocations: 4 kB / 244.5 MB, free: 1.375 MB / 234.7 MB Notification: Performance of Templates: time 0.001805/0.008074, allocations: 333.5 kB / 244.8 MB, free: 1.055 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.1783072566613555]