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.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00181/0.00181, allocations: 214.2 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002536/0.002536, allocations: 67.88 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3465, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003141/0.3496, allocations: 1.479 MB / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.35, allocations: 107.5 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.35, allocations: 0 / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.3501, allocations: 3.938 kB / 432.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.3501, allocations: 3.938 kB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3504, allocations: 23.97 kB / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.3505, allocations: 19.94 kB / 432.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.3506, allocations: 7.984 kB / 432.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.3506, allocations: 11.94 kB / 432.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.3507, allocations: 11.92 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3507, allocations: 8 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.3507, allocations: 3.938 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3507, allocations: 8 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.3507, allocations: 15.86 kB / 432.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.3508, allocations: 25.59 kB / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3509, allocations: 0 / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3509, allocations: 0 / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3509, allocations: 0 / 432.9 MB, free: 4.727 MB / 334.1 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.0004705/0.3513, allocations: 270.3 kB / 433.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3514, allocations: 15.92 kB / 433.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3514, allocations: 38.75 kB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3514, allocations: 4.891 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3517, allocations: 122.5 kB / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3517, allocations: 384 / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3517, allocations: 4.375 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.352, allocations: 107.9 kB / 433.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.352, allocations: 11.88 kB / 433.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.352, allocations: 3.984 kB / 433.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.352, allocations: 0 / 433.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.3521, allocations: 15.98 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3523, allocations: 124.7 kB / 433.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3524, allocations: 50.55 kB / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.3525, allocations: 24.92 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3525, allocations: 0 / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3526, allocations: 38.5 kB / 433.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3526, allocations: 4 kB / 433.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002334/0.3528, allocations: 65.61 kB / 433.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3529, allocations: 63.39 kB / 433.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.353, allocations: 105.9 kB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.353, allocations: 25.7 kB / 433.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.353, allocations: 80.14 kB / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.353, allocations: 7.984 kB / 434 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.3531, allocations: 13.72 kB / 434 MB, free: 3.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3532, allocations: 318.8 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-06/0.3532, allocations: 4 kB / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.3533, allocations: 31.55 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.3533, allocations: 31.69 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3533, allocations: 0 / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.55e-05/0.3534, allocations: 61.56 kB / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3534, allocations: 12.06 kB / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3534, allocations: 4 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3534, allocations: 96 / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.3535, allocations: 15.98 kB / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3535, allocations: 0 / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.3535, allocations: 7.953 kB / 434.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.3535, allocations: 7.875 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.622e-05/0.3536, allocations: 109.8 kB / 434.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3537, allocations: 65.55 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.3537, allocations: 4 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3537, allocations: 8 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3537, allocations: 0 / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3537, allocations: 0 / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.3538, allocations: 124.8 kB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3538, allocations: 0 / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3539, allocations: 11.98 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3539, allocations: 3.938 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3539, allocations: 0 / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3539, allocations: 0 / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3539, allocations: 0 / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3541, allocations: 97 kB / 434.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.3541, allocations: 3.938 kB / 435 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3541, allocations: 7.938 kB / 435 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.3541, allocations: 4 kB / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-06/0.3541, allocations: 0 / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3541, allocations: 0 / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.3542, allocations: 83.27 kB / 435 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 435 MB, free: 2.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.3543, allocations: 8 kB / 435.1 MB, free: 2.238 MB / 334.1 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.0004827/0.3548, allocations: 0.6241 MB / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.3549, allocations: 27.92 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3549, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3549, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.3552, allocations: 26.67 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3562, allocations: 1.146 MB / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.3563, allocations: 67.59 kB / 436.9 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.3563, allocations: 3.984 kB / 436.9 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.3564, allocations: 15.44 kB / 437 MB, free: 188 kB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3564, allocations: 0 / 437 MB, free: 188 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.3855, allocations: 1.755 MB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.96, allocations: 11.88 kB / 438.7 MB, free: 14.53 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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: 13.442142284009606]