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.001616/0.001616, allocations: 112.4 kB / 20.43 MB, free: 1.449 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.001879/0.001879, allocations: 190.4 kB / 23.72 MB, free: 4.684 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.432/1.432, allocations: 225.6 MB / 252.5 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="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 0.001582/0.001582, allocations: 47.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 52.2 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002765/0.2444, allocations: 1.486 MB / 424.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.2446, allocations: 91.69 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.2447, allocations: 0 / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.2447, allocations: 7.922 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.2448, allocations: 7.938 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.245, allocations: 11.98 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.2451, allocations: 27.92 kB / 424.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.2452, allocations: 11.98 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.2452, allocations: 11.92 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.2453, allocations: 15.92 kB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2453, allocations: 4 kB / 424.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.2453, allocations: 4 kB / 424.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2453, allocations: 7.938 kB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.2453, allocations: 11.94 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.2454, allocations: 28.83 kB / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2454, allocations: 0 / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2454, allocations: 0 / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2454, allocations: 0 / 424.4 MB, free: 12.88 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.0005126/0.2459, allocations: 269.7 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.246, allocations: 16.03 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.246, allocations: 30.75 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2461, allocations: 0.9375 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2463, allocations: 130.4 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2463, allocations: 384 / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2464, allocations: 8.375 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.2467, allocations: 107.9 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2467, allocations: 3.938 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2467, allocations: 3.938 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2467, allocations: 0 / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.2468, allocations: 31.84 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.247, allocations: 128.7 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2471, allocations: 54.59 kB / 425.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.2472, allocations: 20.89 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2472, allocations: 0 / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2472, allocations: 34.55 kB / 425.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2472, allocations: 0 / 425.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002304/0.2475, allocations: 77.5 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.2475, allocations: 59.41 kB / 425.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.2476, allocations: 109.8 kB / 425.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2476, allocations: 25.7 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.2477, allocations: 84.14 kB / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.2477, allocations: 0 / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2477, allocations: 17.72 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2479, allocations: 310.8 kB / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.2479, allocations: 7.984 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.2479, allocations: 31.44 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.248, allocations: 31.38 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.248, allocations: 4 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.2e-05/0.2481, allocations: 61.56 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2481, allocations: 7.938 kB / 426 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2481, allocations: 0 / 426 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2481, allocations: 4 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.2481, allocations: 4 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.2482, allocations: 3.984 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.2482, allocations: 7.984 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.2482, allocations: 0 / 426 MB, free: 11.01 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.442e-05/0.2483, allocations: 118 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2484, allocations: 61.52 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.2484, allocations: 12 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2484, allocations: 0 / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2484, allocations: 3.984 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2484, allocations: 0 / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.2485, allocations: 124.8 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2485, allocations: 3.938 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.2486, allocations: 8 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2486, allocations: 3.938 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2486, allocations: 8.234 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2486, allocations: 0 / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.2486, allocations: 4 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2487, allocations: 81.39 kB / 426.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.2488, allocations: 19.91 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2488, allocations: 7.875 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.2488, allocations: 0 / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.2488, allocations: 8 kB / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2488, allocations: 0 / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.2489, allocations: 83.28 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2489, allocations: 0 / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.249, allocations: 4 kB / 426.6 MB, free: 10.38 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.0004491/0.2495, allocations: 0.628 MB / 427.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.2496, allocations: 23.92 kB / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2496, allocations: 0 / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.2496, allocations: 4 kB / 427.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2498, allocations: 27.22 kB / 427.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.251, allocations: 1.143 MB / 428.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2513, allocations: 0.6844 MB / 429.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.2513, allocations: 0 / 429.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.2513, allocations: 19.42 kB / 429.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2513, allocations: 0 / 429.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.2783, allocations: 1.351 MB / 430.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.74, allocations: 6.234 kB / 430.4 MB, free: 6.477 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.108096149982885]