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.001216/0.001216, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001302/0.001302, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.345/1.345, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001425/0.001425, allocations: 47.94 kB / 371.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002651/0.2472, allocations: 1.47 MB / 424.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.2475, allocations: 95.67 kB / 424.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.2475, allocations: 4 kB / 424.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.2476, allocations: 3.938 kB / 424.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.2476, allocations: 3.938 kB / 424.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2478, allocations: 23.97 kB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.2479, allocations: 23.92 kB / 425 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.248, allocations: 4 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.248, allocations: 11.94 kB / 425 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.2481, allocations: 19.92 kB / 425 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2481, allocations: 0 / 425 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.2481, allocations: 4 kB / 425 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.2481, allocations: 3.938 kB / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.2481, allocations: 15.92 kB / 425 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.259e-05/0.2482, allocations: 29.95 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2482, allocations: 0 / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2482, allocations: 0 / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2483, allocations: 3.984 kB / 425.1 MB, free: 12.67 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.0003839/0.2486, allocations: 270.2 kB / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2487, allocations: 12.03 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.48e-05/0.2487, allocations: 192 / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.2487, allocations: 38.75 kB / 425.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.2487, allocations: 0.9375 kB / 425.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2489, allocations: 122.4 kB / 425.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2489, allocations: 384 / 425.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.249, allocations: 8.375 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.2492, allocations: 119.6 kB / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2492, allocations: 0 / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-06/0.2493, allocations: 0 / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2493, allocations: 0 / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.2493, allocations: 23.92 kB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2495, allocations: 124.8 kB / 425.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2496, allocations: 50.59 kB / 425.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.2497, allocations: 24.88 kB / 425.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2497, allocations: 7.938 kB / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2497, allocations: 38.48 kB / 425.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2497, allocations: 0 / 425.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.2499, allocations: 77.56 kB / 426 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.25, allocations: 51.41 kB / 426 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.2501, allocations: 113.8 kB / 426.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2501, allocations: 25.7 kB / 426.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.2501, allocations: 84.14 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.2501, allocations: 4 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2502, allocations: 17.72 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2503, allocations: 314.8 kB / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.2503, allocations: 3.984 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.2504, allocations: 31.44 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.2504, allocations: 31.38 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2504, allocations: 4 kB / 426.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.851e-05/0.2505, allocations: 57.59 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2505, allocations: 11.94 kB / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2505, allocations: 0 / 426.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2505, allocations: 4 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.2506, allocations: 4.25 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2506, allocations: 0 / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.2506, allocations: 11.98 kB / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.2506, allocations: 0 / 426.7 MB, free: 10.79 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 7.993e-05/0.2507, allocations: 113.8 kB / 426.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2508, allocations: 65.61 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2508, allocations: 12 kB / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2508, allocations: 0 / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2508, allocations: 0 / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2509, allocations: 3.984 kB / 426.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.251, allocations: 120.8 kB / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.251, allocations: 0 / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.251, allocations: 11.98 kB / 427 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.251, allocations: 3.938 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.251, allocations: 0 / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.251, allocations: 0 / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.251, allocations: 4 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.2512, allocations: 89.05 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.2512, allocations: 11.83 kB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2512, allocations: 0 / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.2512, allocations: 4 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-06/0.2512, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2512, allocations: 3.938 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.2513, allocations: 91.2 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2513, allocations: 4 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001746/0.2514, allocations: 0 / 427.3 MB, free: 10.18 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.0004692/0.2519, allocations: 0.6324 MB / 427.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.252, allocations: 23.92 kB / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.252, allocations: 0 / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.252, allocations: 0 / 427.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2522, allocations: 23.97 kB / 427.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2533, allocations: 1.154 MB / 429.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.2534, allocations: 71.2 kB / 429.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.35e-05/0.2534, allocations: 0 / 429.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2534, allocations: 11.44 kB / 429.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2534, allocations: 0 / 429.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.2791, allocations: 1.401 MB / 430.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.82, allocations: 6.75 kB / 430.6 MB, free: 6.855 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.159487202065066]