Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007942, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008925/0.0008925, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9131/0.9131, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.443e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002115/0.00214, allocations: 1.494 MB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002449/0.002384, allocations: 87.75 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.002443, allocations: 3.938 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.002468, allocations: 0 / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.00251, allocations: 3.938 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.002744, allocations: 35.84 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.002836, allocations: 35.86 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.002945, allocations: 7.984 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.002988, allocations: 8 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.003031, allocations: 19.91 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.003052, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.00306, allocations: 4 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.003076, allocations: 0 / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.003105, allocations: 8 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.596e-05/0.003191, allocations: 27.89 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003195, allocations: 0 / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.003196, allocations: 4 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.0032, allocations: 0 / 326.3 MB, free: 14.15 MB / 298.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.000333/0.003533, allocations: 270.3 kB / 326.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.003574, allocations: 11.98 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.003601, allocations: 30.75 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.003625, allocations: 8.891 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.003814, allocations: 117.7 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.003824, allocations: 8.312 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.003832, allocations: 384 / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.004099, allocations: 115.8 kB / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.004104, allocations: 192 / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.004112, allocations: 384 / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.004119, allocations: 8.125 kB / 326.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.004169, allocations: 15.98 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.004271, allocations: 128.7 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.004399, allocations: 62.56 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.004435, allocations: 16.86 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.004453, allocations: 3.938 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.004473, allocations: 42.59 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004474, allocations: 0 / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000156/0.00463, allocations: 61.67 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.004671, allocations: 67.28 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.004724, allocations: 105.8 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.004738, allocations: 29.7 kB / 327.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.004798, allocations: 92.08 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.004801, allocations: 0 / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.004818, allocations: 9.719 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.004888, allocations: 314.8 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.004894, allocations: 3.938 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.004898, allocations: 0 / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/0.004916, allocations: 75.28 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.004932, allocations: 75.28 kB / 327.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.611e-05/0.004969, allocations: 33.69 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.004997, allocations: 79.28 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.005017, allocations: 83.22 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.23e-05/0.005059, allocations: 154.6 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.185e-05/0.005081, allocations: 83.22 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.005185, allocations: 154.5 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.005227, allocations: 79.28 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.005244, allocations: 79.22 kB / 328.6 MB, free: 11.57 MB / 298.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.291e-05/0.005316, allocations: 193.1 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.005394, allocations: 53.64 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.005419, allocations: 8 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.005423, allocations: 4 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.005428, allocations: 7.938 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005431, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.768e-05/0.005488, allocations: 120.8 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.005492, allocations: 0 / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.005555, allocations: 11.98 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.005559, allocations: 0 / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.005566, allocations: 4 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.005568, allocations: 0 / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.00557, allocations: 3.938 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.005661, allocations: 81.05 kB / 329.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.005669, allocations: 11.95 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.005681, allocations: 4 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.005694, allocations: 4 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-06/0.005698, allocations: 3.938 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.005703, allocations: 0 / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.005734, allocations: 87.52 kB / 329.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005734, allocations: 3.938 kB / 329.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.005876, allocations: 4 kB / 329.2 MB, free: 10.89 MB / 298.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.0002608/0.006137, allocations: 0.6206 MB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.758e-05/0.006204, allocations: 19.91 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006206, allocations: 0 / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.006207, allocations: 0 / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.006402, allocations: 23.92 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008605/0.007263, allocations: 1.379 MB / 331.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.007299, allocations: 63.34 kB / 331.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.216e-05/0.007311, allocations: 0 / 331.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.007347, allocations: 12.5 kB / 331.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007348, allocations: 8 kB / 331.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.02397, allocations: 1.826 MB / 333.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.63, allocations: 3.938 kB / 333.2 MB, free: 6.914 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.305227361619473]