Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001724/0.001724, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002095/0.002095, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2464, allocations: 53.35 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002841/0.2492, allocations: 1.573 MB / 432.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.2502, allocations: 0.4987 MB / 433.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.2503, allocations: 7.938 kB / 433.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.2503, allocations: 11.86 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2504, allocations: 3.938 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2507, allocations: 59.81 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.2508, allocations: 35.86 kB / 433.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.2509, allocations: 12 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.251, allocations: 27.91 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.251, allocations: 19.86 kB / 433.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2511, allocations: 4 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.2511, allocations: 4 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.2511, allocations: 15.92 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.2512, allocations: 19.88 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2513, allocations: 53.38 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2513, allocations: 0 / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2513, allocations: 4 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2513, allocations: 0 / 433.4 MB, free: 4.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004228/0.2517, allocations: 298 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2518, allocations: 12.02 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.2518, allocations: 38.75 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2519, allocations: 16.88 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.2522, allocations: 136.9 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2522, allocations: 4.375 kB / 433.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2522, allocations: 4.375 kB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2524, allocations: 93.17 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2524, allocations: 0 / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2524, allocations: 4 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2524, allocations: 4 kB / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.2525, allocations: 15.92 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.2528, allocations: 236.8 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.2529, allocations: 45.16 kB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.2529, allocations: 25.77 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2529, allocations: 0 / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.253, allocations: 30.56 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/0.253, allocations: 3.984 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.2532, allocations: 73.56 kB / 434.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.2533, allocations: 77.11 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2534, allocations: 138.2 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2534, allocations: 25.7 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.2535, allocations: 88.38 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2535, allocations: 8 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.2535, allocations: 17.67 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2536, allocations: 322.8 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.2537, allocations: 7.984 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.2537, allocations: 29.58 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.2538, allocations: 21.72 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2538, allocations: 4 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.2539, allocations: 61.67 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2539, allocations: 7.938 kB / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2539, allocations: 0 / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2539, allocations: 0 / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.254, allocations: 8 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.254, allocations: 0 / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.254, allocations: 3.984 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.254, allocations: 4 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.383e-05/0.2541, allocations: 121.8 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.2542, allocations: 45.58 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.2542, allocations: 11.77 kB / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.2542, allocations: 8 kB / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2542, allocations: 0 / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2542, allocations: 0 / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2544, allocations: 144.6 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2544, allocations: 4 kB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.2544, allocations: 4 kB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2544, allocations: 0 / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2544, allocations: 0 / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2545, allocations: 4.031 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2545, allocations: 4 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2546, allocations: 160.3 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.2547, allocations: 19.88 kB / 435.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2547, allocations: 0 / 435.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.2547, allocations: 4 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.2548, allocations: 0 / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2548, allocations: 0 / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.797e-05/0.2549, allocations: 114 kB / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2549, allocations: 4.031 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.2551, allocations: 8 kB / 435.9 MB, free: 1.516 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 (2): * Single equations (assignments): 2 * 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.0004443/0.2555, allocations: 0.6898 MB / 436.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2556, allocations: 23.92 kB / 436.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2556, allocations: 0 / 436.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.543e-05/0.2557, allocations: 8.156 kB / 436.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.256, allocations: 20.02 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2573, allocations: 1.319 MB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.14e-05/0.2573, allocations: 75.33 kB / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.699e-05/0.2574, allocations: 4.109 kB / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.2574, allocations: 19.44 kB / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2574, allocations: 0 / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2857, allocations: 2.049 MB / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.03, allocations: 12.05 kB / 440.1 MB, free: 13.3 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.66814642600366]