Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 55.91 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003578/0.2638, allocations: 1.557 MB / 432.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004692/0.2642, allocations: 135.5 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.2643, allocations: 7.938 kB / 432.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.2644, allocations: 7.922 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2645, allocations: 7.938 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2648, allocations: 35.92 kB / 432.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2649, allocations: 35.89 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.265, allocations: 8 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2651, allocations: 19.92 kB / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.2651, allocations: 7.875 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2651, allocations: 4 kB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.2651, allocations: 4 kB / 432.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.2652, allocations: 11.98 kB / 432.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2652, allocations: 15.88 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.2654, allocations: 61.31 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2654, allocations: 0 / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2654, allocations: 0 / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2654, allocations: 0 / 433 MB, free: 4.691 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004795/0.2659, allocations: 298 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2659, allocations: 12.03 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.266, allocations: 34.75 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.266, allocations: 8.891 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.2662, allocations: 130.4 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2663, allocations: 8.375 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2663, allocations: 4.375 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2666, allocations: 117.5 kB / 433.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2666, allocations: 3.938 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2666, allocations: 4 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2666, allocations: 0 / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.2667, allocations: 19.98 kB / 433.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.267, allocations: 240.7 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.2672, allocations: 61.12 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.2673, allocations: 21.78 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2673, allocations: 4 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2673, allocations: 42.48 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2673, allocations: 3.938 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002308/0.2675, allocations: 77.66 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.2676, allocations: 81.14 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2677, allocations: 136.8 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2678, allocations: 25.7 kB / 434.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.2678, allocations: 84.14 kB / 434.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2678, allocations: 11.94 kB / 434.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.2679, allocations: 17.72 kB / 434.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.268, allocations: 310.8 kB / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.268, allocations: 11.98 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.2681, allocations: 27.62 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.364e-05/0.2682, allocations: 51.36 kB / 434.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2682, allocations: 7.938 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.2683, allocations: 65.55 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2683, allocations: 8 kB / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2683, allocations: 0 / 434.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2683, allocations: 4.219 kB / 434.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.2684, allocations: 15.97 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2684, allocations: 4 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.2684, allocations: 7.953 kB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2684, allocations: 4 kB / 434.9 MB, free: 2.512 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.661e-05/0.2685, allocations: 117.8 kB / 435 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.2686, allocations: 49.62 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.2686, allocations: 8.344 kB / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2686, allocations: 0 / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2686, allocations: 0 / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2686, allocations: 7.984 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2688, allocations: 144.6 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2688, allocations: 0 / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2688, allocations: 8 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2688, allocations: 3.984 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2688, allocations: 3.938 kB / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2688, allocations: 0 / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2689, allocations: 4 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.269, allocations: 172.2 kB / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.2691, allocations: 11.94 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2691, allocations: 4 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.2691, allocations: 7.984 kB / 435.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.2692, allocations: 4 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2692, allocations: 0 / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.097e-05/0.2692, allocations: 99.27 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2695, allocations: 11.94 kB / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004889/0.27, allocations: 0.6937 MB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.2701, allocations: 35.91 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2701, allocations: 0 / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.2701, allocations: 15.94 kB / 436.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.2705, allocations: 18.59 kB / 436.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2717, allocations: 1.321 MB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.2718, allocations: 75.28 kB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.2718, allocations: 7.984 kB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.2719, allocations: 15.8 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2719, allocations: 0 / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.2999, allocations: 2.012 MB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.3, allocations: 12.05 kB / 439.8 MB, free: 13.56 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.y,step.y,step.height [Calling sys.exit(0), Time elapsed: 13.902416618075222]