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.001322/0.001322, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001015/0.001015, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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.9135/0.9135, allocations: 173.4 MB / 200.5 MB, free: 9.438 MB / 186.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.509e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002466/0.002502, allocations: 1.45 MB / 319.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.002775, allocations: 99.62 kB / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.002851, allocations: 0 / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.002885, allocations: 3.938 kB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.002941, allocations: 3.984 kB / 320 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.003286, allocations: 27.8 kB / 320 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003403, allocations: 39.84 kB / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.003533, allocations: 8 kB / 320.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.003589, allocations: 11.98 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.00364, allocations: 7.938 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.003673, allocations: 4 kB / 320.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.003684, allocations: 4 kB / 320.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.003707, allocations: 7.984 kB / 320.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.003744, allocations: 7.984 kB / 320.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003869, allocations: 27.91 kB / 320.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003872, allocations: 0 / 320.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.003874, allocations: 0 / 320.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.00388, allocations: 0 / 320.1 MB, free: 4.633 MB / 282.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.0004296/0.00431, allocations: 270.2 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.004378, allocations: 8.922 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.004426, allocations: 38.75 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.00445, allocations: 8.938 kB / 320.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.004648, allocations: 117.7 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.00466, allocations: 8.375 kB / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.00467, allocations: 384 / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.004928, allocations: 107.8 kB / 320.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004937, allocations: 192 / 320.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.004947, allocations: 4.375 kB / 320.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.004956, allocations: 8.125 kB / 320.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.802e-05/0.005014, allocations: 19.97 kB / 320.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.005134, allocations: 124.8 kB / 320.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.005243, allocations: 58.48 kB / 320.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.005281, allocations: 20.92 kB / 320.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.005299, allocations: 0 / 320.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.005329, allocations: 34.56 kB / 321 MB, free: 3.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.005329, allocations: 4 kB / 321 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002062/0.005536, allocations: 73.56 kB / 321 MB, free: 3.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.005587, allocations: 59.34 kB / 321.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.005661, allocations: 101.8 kB / 321.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.005676, allocations: 29.7 kB / 321.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.005722, allocations: 88.08 kB / 321.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.005725, allocations: 0 / 321.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.005746, allocations: 9.719 kB / 321.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.005838, allocations: 318.8 kB / 321.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.005842, allocations: 0 / 321.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.005847, allocations: 4 kB / 321.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.005875, allocations: 75.28 kB / 321.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.005895, allocations: 83.22 kB / 321.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.859e-05/0.005933, allocations: 33.64 kB / 321.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.005963, allocations: 79.28 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.005984, allocations: 79.28 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.006027, allocations: 150.6 kB / 322.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.006047, allocations: 87.14 kB / 322.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/0.006083, allocations: 154.6 kB / 322.4 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.006126, allocations: 79.22 kB / 322.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.006143, allocations: 79.28 kB / 322.5 MB, free: 2.059 MB / 282.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 7.328e-05/0.006216, allocations: 189.1 kB / 322.7 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.006296, allocations: 57.62 kB / 322.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.006325, allocations: 8 kB / 322.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006326, allocations: 4 kB / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.006331, allocations: 3.938 kB / 322.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006334, allocations: 256 / 322.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.335e-05/0.006398, allocations: 128.7 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.006401, allocations: 4 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.006459, allocations: 12 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.006461, allocations: 0 / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.006466, allocations: 240 / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.006469, allocations: 0 / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.006473, allocations: 11.91 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.006553, allocations: 85.11 kB / 323 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.00656, allocations: 3.953 kB / 323 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.00657, allocations: 3.984 kB / 323 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.00658, allocations: 4 kB / 323 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.006584, allocations: 3.938 kB / 323 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.006589, allocations: 4 kB / 323 MB, free: 1.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.678e-05/0.006615, allocations: 83.28 kB / 323.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006615, allocations: 3.938 kB / 323.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.006767, allocations: 4 kB / 323.1 MB, free: 1.371 MB / 282.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.0003775/0.007145, allocations: 0.6163 MB / 323.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.583e-05/0.00723, allocations: 12 kB / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007232, allocations: 0 / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.007233, allocations: 0 / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.007475, allocations: 38.77 kB / 323.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.008419, allocations: 1.372 MB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.008475, allocations: 63.34 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.00849, allocations: 0 / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.008533, allocations: 20.42 kB / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008534, allocations: 0 / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.02422, allocations: 1.826 MB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.837, allocations: 17.33 kB / 327.1 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 8.56143446918577]