Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001558/0.001558, 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.001351/0.001351, allocations: 186.8 kB / 24.49 MB, free: 3.961 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.344/1.344, allocations: 225.7 MB / 253.3 MB, free: 12.88 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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2473, allocations: 52.18 MB / 423.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002659/0.25, allocations: 1.455 MB / 424.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000183/0.2502, allocations: 31.86 kB / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.2502, allocations: 0 / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.2503, allocations: 7.938 kB / 424.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.2503, allocations: 7.922 kB / 424.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.2505, allocations: 25.92 kB / 424.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.131e-05/0.2506, allocations: 23.98 kB / 424.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.2507, allocations: 15.97 kB / 424.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.2507, allocations: 15.88 kB / 424.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.2508, allocations: 15.92 kB / 425 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2508, allocations: 0 / 425 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.2508, allocations: 4 kB / 425 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.2508, allocations: 4 kB / 425 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.2509, allocations: 7.938 kB / 425 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.251, allocations: 45.92 kB / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.251, allocations: 0 / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.251, allocations: 0 / 425 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.251, allocations: 0 / 425 MB, free: 12.8 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.0003946/0.2514, allocations: 274.2 kB / 425.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2514, allocations: 12.03 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.597e-05/0.2514, allocations: 4.172 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.2515, allocations: 30.75 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.2515, allocations: 4.938 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2517, allocations: 122.4 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2517, allocations: 8.375 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.2517, allocations: 384 / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.252, allocations: 127.5 kB / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.252, allocations: 0 / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2521, allocations: 0 / 425.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2521, allocations: 4 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2522, allocations: 23.97 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.2523, allocations: 124.8 kB / 425.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2525, allocations: 62.48 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.2526, allocations: 24.92 kB / 425.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.2526, allocations: 0 / 425.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2526, allocations: 42.48 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2526, allocations: 0 / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002656/0.2529, allocations: 81.61 kB / 425.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.253, allocations: 59.34 kB / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.253, allocations: 109.8 kB / 426.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2531, allocations: 25.7 kB / 426.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2531, allocations: 84.12 kB / 426.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2531, allocations: 11.94 kB / 426.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.2532, allocations: 17.72 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2533, allocations: 314.8 kB / 426.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.2533, allocations: 7.984 kB / 426.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.2534, allocations: 31.38 kB / 426.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.2534, allocations: 35.38 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2534, allocations: 4 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.563e-05/0.2535, allocations: 61.62 kB / 426.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2535, allocations: 11.94 kB / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2535, allocations: 0 / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2535, allocations: 0 / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.2536, allocations: 11.98 kB / 426.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2536, allocations: 3.938 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.2536, allocations: 7.953 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2536, allocations: 0 / 426.7 MB, free: 10.86 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.79e-05/0.2537, allocations: 113.8 kB / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2539, allocations: 69.73 kB / 426.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.2539, allocations: 8 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2539, allocations: 0 / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2539, allocations: 0 / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2539, allocations: 0 / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.226e-05/0.254, allocations: 124.8 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.254, allocations: 0 / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.2541, allocations: 15.98 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2541, allocations: 3.938 kB / 427.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2541, allocations: 0 / 427.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2541, allocations: 4.312 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2541, allocations: 7.938 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2543, allocations: 93.28 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.2543, allocations: 7.938 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2543, allocations: 4.047 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.2543, allocations: 7.984 kB / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.2543, allocations: 0 / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2543, allocations: 0 / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.2544, allocations: 91.27 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2544, allocations: 0 / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001785/0.2546, allocations: 4 kB / 427.3 MB, free: 10.23 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005699/0.2551, allocations: 0.6553 MB / 427.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.2553, allocations: 27.92 kB / 427.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2553, allocations: 0 / 427.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2553, allocations: 0 / 427.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.2555, allocations: 27.97 kB / 428 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2566, allocations: 1.177 MB / 429.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.2566, allocations: 71.52 kB / 429.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.2566, allocations: 7.984 kB / 429.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.2567, allocations: 15.38 kB / 429.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2567, allocations: 4 kB / 429.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.2775, allocations: 1.547 MB / 430.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.83, allocations: 14.7 kB / 430.8 MB, free: 6.699 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.154404061031528]