Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005956/0.007104, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002101/0.003543, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.22/1.22, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1358/1.356, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.987e-05/4.258e-05, allocations: 5.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003105/0.003148, allocations: 1.58 MB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.003388, allocations: 104.3 kB / 246.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.003481, allocations: 3.938 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.003514, allocations: 0 / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.00355, allocations: 7.875 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.003752, allocations: 23.86 kB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003877, allocations: 31.91 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.004005, allocations: 7.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004106, allocations: 19.98 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.004174, allocations: 7.984 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.004206, allocations: 4 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.00422, allocations: 4 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.004261, allocations: 3.938 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.0043, allocations: 8 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.004436, allocations: 19.91 kB / 246.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.004448, allocations: 0 / 246.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.00445, allocations: 0 / 246.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.004465, allocations: 0 / 246.5 MB, free: 12.39 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.0004615/0.004926, allocations: 244.6 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.004976, allocations: 8.031 kB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.005013, allocations: 4.938 kB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.005231, allocations: 129.7 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.005243, allocations: 384 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.005256, allocations: 12.3 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.005498, allocations: 100.6 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005507, allocations: 4.188 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005516, allocations: 384 / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.005524, allocations: 384 / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.005546, allocations: 7.938 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.757e-05/0.005633, allocations: 61.03 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.005722, allocations: 30.58 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.005752, allocations: 12.84 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.005775, allocations: 0 / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.005804, allocations: 42.5 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005805, allocations: 0 / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001516/0.005956, allocations: 45.62 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.006006, allocations: 59.41 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.006076, allocations: 110.7 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.00609, allocations: 25.7 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.006125, allocations: 80.14 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.006127, allocations: 4 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.006144, allocations: 9.719 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006255, allocations: 318.8 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-06/0.006261, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-06/0.006266, allocations: 7.938 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.006305, allocations: 79.27 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.006328, allocations: 79.28 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.063e-05/0.006379, allocations: 29.7 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.006422, allocations: 79.28 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.006451, allocations: 75.28 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.618e-05/0.006517, allocations: 166.6 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.006541, allocations: 75.28 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/0.006587, allocations: 154.5 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.00664, allocations: 83.27 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.006667, allocations: 79.27 kB / 248.7 MB, free: 10.04 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 0.0001054/0.006773, allocations: 189 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.006851, allocations: 45.69 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.00689, allocations: 8 kB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.006893, allocations: 0 / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006895, allocations: 0 / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.0069, allocations: 240 / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.302e-05/0.006973, allocations: 73.83 kB / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.006978, allocations: 0 / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.007086, allocations: 8 kB / 249 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.007101, allocations: 7.938 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.007104, allocations: 4 kB / 249 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.007111, allocations: 0 / 249 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.007114, allocations: 4 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007115, allocations: 0 / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.505e-05/0.00718, allocations: 68.98 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.007189, allocations: 0 / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.007203, allocations: 8.188 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-06/0.007208, allocations: 0 / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.007215, allocations: 4 kB / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.007239, allocations: 12.84 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007239, allocations: 0 / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001137/0.007353, allocations: 4 kB / 249.1 MB, free: 9.559 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: 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 0.0001231/0.007476, allocations: 80.42 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.007554, allocations: 4 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.007559, allocations: 0 / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.00756, allocations: 0 / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.007748, allocations: 31.77 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.008259, allocations: 115.4 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.008306, allocations: 59.34 kB / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.34e-05/0.00832, allocations: 0 / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.008369, allocations: 51.38 kB / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.008371, allocations: 4 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of Templates: time 0.002316/0.01069, allocations: 304 kB / 249.8 MB, free: 8.871 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.76079510897398]