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.001307/0.001307, allocations: 115.9 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.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.001433/0.001433, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001515/0.001515, allocations: 43.92 kB / 377.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2675, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003134/0.2706, allocations: 1.588 MB / 432.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2717, allocations: 0.5414 MB / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.2718, allocations: 0 / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.2719, allocations: 7.938 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.272, allocations: 11.92 kB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.2724, allocations: 59.75 kB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2725, allocations: 39.8 kB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2726, allocations: 11.98 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2727, allocations: 27.88 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.2728, allocations: 23.84 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2728, allocations: 0 / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.2729, allocations: 8 kB / 433.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.2729, allocations: 11.98 kB / 433.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.273, allocations: 27.81 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2731, allocations: 59.11 kB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2732, allocations: 0 / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2732, allocations: 0 / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2732, allocations: 0 / 433.6 MB, free: 4.438 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.0006413/0.2738, allocations: 291 kB / 433.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.2739, allocations: 8.031 kB / 433.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.2739, allocations: 34.75 kB / 433.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.2741, allocations: 16.88 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.2744, allocations: 146.3 kB / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2744, allocations: 384 / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2745, allocations: 4.375 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.2747, allocations: 105.1 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2747, allocations: 4 kB / 434.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2747, allocations: 0 / 434.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2747, allocations: 0 / 434.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.2748, allocations: 19.98 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2751, allocations: 228.8 kB / 434.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.2752, allocations: 49.14 kB / 434.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.2753, allocations: 21.77 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2753, allocations: 0 / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2753, allocations: 34.56 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2753, allocations: 3.938 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002815/0.2756, allocations: 69.72 kB / 434.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2757, allocations: 81.05 kB / 434.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2758, allocations: 144.8 kB / 434.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2758, allocations: 29.64 kB / 434.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.2759, allocations: 88.12 kB / 434.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.2759, allocations: 4 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.276, allocations: 17.67 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2761, allocations: 322.9 kB / 435.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.2761, allocations: 11.98 kB / 435.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.2762, allocations: 13.72 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/0.2763, allocations: 29.7 kB / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2763, allocations: 64 / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001612/0.2764, allocations: 61.61 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2764, allocations: 8 kB / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.2764, allocations: 0 / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2765, allocations: 0 / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.2765, allocations: 4 kB / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2765, allocations: 0 / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.2766, allocations: 7.984 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2766, allocations: 0 / 435.4 MB, free: 2.379 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 0.0001236/0.2767, allocations: 125.8 kB / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.2768, allocations: 41.64 kB / 435.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.2768, allocations: 15.77 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2768, allocations: 0 / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2768, allocations: 0 / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2768, allocations: 0 / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.277, allocations: 148.6 kB / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.277, allocations: 0 / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.2771, allocations: 4 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2771, allocations: 8.016 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2771, allocations: 4 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2771, allocations: 0 / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2771, allocations: 0 / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2773, allocations: 164.2 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2773, allocations: 15.94 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2774, allocations: 4.031 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.2774, allocations: 8 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.2775, allocations: 3.984 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2775, allocations: 0 / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.2776, allocations: 114.1 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2776, allocations: 0 / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.2778, allocations: 8 kB / 436 MB, free: 1.652 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.0005713/0.2784, allocations: 0.6975 MB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.2785, allocations: 19.98 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2785, allocations: 0 / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/0.2786, allocations: 20.08 kB / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2789, allocations: 12.03 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2803, allocations: 1.311 MB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2806, allocations: 0.6924 MB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.2806, allocations: 0 / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.2807, allocations: 19.42 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2807, allocations: 4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.3075, allocations: 1.59 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.9, allocations: 8.062 kB / 440.4 MB, free: 13.27 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.421427823999693]