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.001383/0.001383, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00169/0.00169, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.00155/0.00155, allocations: 47.94 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003021/0.2651, allocations: 1.577 MB / 432.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2662, allocations: 0.4986 MB / 433.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.2663, allocations: 4 kB / 433.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.2664, allocations: 3.938 kB / 433.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.2665, allocations: 7.938 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.2669, allocations: 55.81 kB / 433.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.267, allocations: 39.8 kB / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2671, allocations: 11.98 kB / 433.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2672, allocations: 31.86 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.2673, allocations: 11.92 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2673, allocations: 4 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.2673, allocations: 12 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.2674, allocations: 15.92 kB / 433.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2674, allocations: 15.86 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2676, allocations: 53.39 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2676, allocations: 0 / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2676, allocations: 0 / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2676, allocations: 0 / 433.4 MB, free: 4.324 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.0004871/0.268, allocations: 298 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2681, allocations: 12.03 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.2681, allocations: 34.75 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.2683, allocations: 20.88 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2686, allocations: 138.3 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2686, allocations: 4.375 kB / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2686, allocations: 384 / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.2688, allocations: 97.17 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2688, allocations: 3.984 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2689, allocations: 0 / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2689, allocations: 4 kB / 434 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.2689, allocations: 15.98 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2692, allocations: 232.8 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2693, allocations: 49.14 kB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.2694, allocations: 17.77 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2694, allocations: 3.938 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2694, allocations: 38.56 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2694, allocations: 3.938 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/0.2697, allocations: 65.62 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.2697, allocations: 85.05 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2699, allocations: 140.3 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2699, allocations: 25.7 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.27, allocations: 96.12 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.27, allocations: 0 / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.27, allocations: 17.67 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2701, allocations: 322.8 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.2702, allocations: 8.25 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.2702, allocations: 25.7 kB / 435.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.2703, allocations: 25.7 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2703, allocations: 0 / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.2704, allocations: 57.62 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2704, allocations: 8 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2704, allocations: 0 / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2705, allocations: 4.125 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2705, allocations: 4 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2705, allocations: 3.984 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.2706, allocations: 4 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2706, allocations: 0 / 435.2 MB, free: 2.258 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 9.15e-05/0.2707, allocations: 121.7 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.2707, allocations: 45.64 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2708, allocations: 11.77 kB / 435.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2708, allocations: 0 / 435.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2708, allocations: 4.031 kB / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2708, allocations: 0 / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2709, allocations: 148.6 kB / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2709, allocations: 0 / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.271, allocations: 4 kB / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.271, allocations: 0 / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.271, allocations: 4 kB / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.271, allocations: 0 / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.271, allocations: 0 / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.2712, allocations: 172.2 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2712, allocations: 15.97 kB / 435.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2712, allocations: 4 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.2713, allocations: 4 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.2713, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2713, allocations: 4 kB / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.2714, allocations: 110 kB / 435.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2714, allocations: 0 / 435.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000219/0.2716, allocations: 4 kB / 435.9 MB, free: 1.543 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.0004911/0.2721, allocations: 0.7014 MB / 436.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2722, allocations: 19.98 kB / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2723, allocations: 4 kB / 436.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.2723, allocations: 11.92 kB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2726, allocations: 12.03 kB / 436.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2739, allocations: 1.319 MB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.936e-05/0.274, allocations: 79.31 kB / 438 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.2741, allocations: 0 / 438 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2741, allocations: 15.44 kB / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2741, allocations: 0 / 438 MB, free: 15.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3014, allocations: 2.022 MB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.15, allocations: 14.64 kB / 440.1 MB, free: 13.34 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.651163365226239]