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.001594/0.001594, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001871/0.001871, allocations: 187.8 kB / 24.5 MB, free: 4.02 MB / 14.72 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 1.383/1.383, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 47.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002695/0.2602, allocations: 1.497 MB / 424.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.2605, allocations: 99.66 kB / 425 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.2605, allocations: 4 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.2606, allocations: 3.938 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.2606, allocations: 3.938 kB / 425 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2608, allocations: 19.98 kB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.2609, allocations: 31.84 kB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.261, allocations: 8 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.2611, allocations: 7.984 kB / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.2611, allocations: 15.88 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2611, allocations: 4 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.2611, allocations: 0 / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.2611, allocations: 4 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2612, allocations: 11.94 kB / 425.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/0.2613, allocations: 36.94 kB / 425.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2613, allocations: 0 / 425.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2613, allocations: 7.938 kB / 425.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2613, allocations: 0 / 425.2 MB, free: 12.85 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.0003822/0.2616, allocations: 273.1 kB / 425.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2617, allocations: 8.031 kB / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.2617, allocations: 192 / 425.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.2617, allocations: 34.75 kB / 425.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.2617, allocations: 0.9375 kB / 425.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2619, allocations: 130.4 kB / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.2619, allocations: 384 / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.262, allocations: 4.375 kB / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2622, allocations: 107.6 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2622, allocations: 4 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2623, allocations: 0 / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2623, allocations: 7.938 kB / 425.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.2623, allocations: 19.92 kB / 425.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.2625, allocations: 124.8 kB / 425.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2626, allocations: 58.53 kB / 425.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.2627, allocations: 20.92 kB / 425.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2627, allocations: 8 kB / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2627, allocations: 34.5 kB / 426 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2627, allocations: 0 / 426 MB, free: 11.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002162/0.2629, allocations: 73.56 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.263, allocations: 51.41 kB / 426.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.2631, allocations: 109.8 kB / 426.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2631, allocations: 25.7 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.2631, allocations: 92.14 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.2631, allocations: 0 / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2632, allocations: 21.7 kB / 426.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2633, allocations: 310.8 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.2633, allocations: 4 kB / 426.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.2633, allocations: 31.42 kB / 426.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.2634, allocations: 35.62 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2634, allocations: 0 / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.329e-05/0.2635, allocations: 61.56 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2635, allocations: 11.94 kB / 426.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2635, allocations: 128 / 426.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2635, allocations: 7.938 kB / 426.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.2636, allocations: 8 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2636, allocations: 0 / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.2636, allocations: 0 / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2636, allocations: 4 kB / 426.8 MB, free: 10.98 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.17e-05/0.2637, allocations: 113.8 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2638, allocations: 65.5 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2638, allocations: 8 kB / 427 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2638, allocations: 4 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2638, allocations: 4 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2638, allocations: 0 / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.2639, allocations: 124.8 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2639, allocations: 3.984 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.264, allocations: 8 kB / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.264, allocations: 3.938 kB / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.264, allocations: 0 / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.264, allocations: 0 / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.264, allocations: 0 / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.2641, allocations: 89.38 kB / 427.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.2641, allocations: 19.77 kB / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2641, allocations: 0 / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.2642, allocations: 0 / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.2642, allocations: 8.016 kB / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2642, allocations: 4 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.2642, allocations: 83.28 kB / 427.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2642, allocations: 4 kB / 427.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.2644, allocations: 4 kB / 427.3 MB, free: 10.36 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.0004587/0.2649, allocations: 0.6202 MB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.265, allocations: 20.11 kB / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.265, allocations: 4.062 kB / 428 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.265, allocations: 0 / 428 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2652, allocations: 31.41 kB / 428 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2663, allocations: 1.154 MB / 429.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2666, allocations: 0.6883 MB / 429.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.2666, allocations: 0 / 429.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.2666, allocations: 15.44 kB / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2666, allocations: 0 / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.2876, allocations: 1.39 MB / 431.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 8.047 kB / 431.3 MB, free: 6.43 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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: 13.24328608601354]