Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.002169/0.002169, allocations: 112 kB / 20.43 MB, free: 1.465 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.001567/0.001567, allocations: 183.8 kB / 23.71 MB, free: 4.723 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.532/1.532, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 370.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3274, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003581/0.3309, allocations: 1.713 MB / 424.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.3315, allocations: 167.4 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3316, allocations: 7.938 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.244e-05/0.3317, allocations: 3.938 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3319, allocations: 11.88 kB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.3322, allocations: 47.88 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.3324, allocations: 51.86 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3325, allocations: 27.91 kB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3326, allocations: 31.86 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.3327, allocations: 19.86 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3327, allocations: 4 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3327, allocations: 4 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.3328, allocations: 23.92 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3328, allocations: 27.75 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.333, allocations: 68.08 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.333, allocations: 0 / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.333, allocations: 4 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.333, allocations: 3.938 kB / 424.8 MB, free: 12.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005184/0.3335, allocations: 321.8 kB / 425.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3335, allocations: 12.03 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.3336, allocations: 38.73 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3336, allocations: 16.84 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3339, allocations: 141.6 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3339, allocations: 4.375 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3339, allocations: 4.375 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.3343, allocations: 174.3 kB / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3343, allocations: 3.938 kB / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3343, allocations: 0 / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3343, allocations: 4 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3345, allocations: 39.91 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3349, allocations: 329 kB / 425.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3352, allocations: 115.8 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3353, allocations: 50.69 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3353, allocations: 4 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.3354, allocations: 38.55 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3354, allocations: 4 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003565/0.3357, allocations: 121.7 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3358, allocations: 114.7 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.336, allocations: 133.8 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.336, allocations: 29.7 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.3361, allocations: 88.14 kB / 426.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3361, allocations: 16.12 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3361, allocations: 25.72 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3363, allocations: 322.8 kB / 427 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.3364, allocations: 12 kB / 427 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3365, allocations: 83.58 kB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3366, allocations: 87.59 kB / 427.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3366, allocations: 4 kB / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.3368, allocations: 105.4 kB / 427.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3369, allocations: 8.281 kB / 427.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3369, allocations: 4 kB / 427.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3369, allocations: 4 kB / 427.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.337, allocations: 20.17 kB / 427.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.337, allocations: 4 kB / 427.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.337, allocations: 11.94 kB / 427.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.337, allocations: 4 kB / 427.3 MB, free: 9.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001219/0.3371, allocations: 133.7 kB / 427.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3373, allocations: 77.89 kB / 427.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.3373, allocations: 16.72 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3373, allocations: 4 kB / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3373, allocations: 0 / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3373, allocations: 0 / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3376, allocations: 168.6 kB / 427.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3376, allocations: 0 / 427.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.3377, allocations: 19.94 kB / 427.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3377, allocations: 0 / 427.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3377, allocations: 3.984 kB / 427.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3377, allocations: 4 kB / 427.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3377, allocations: 0 / 427.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3381, allocations: 316.3 kB / 428 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.3382, allocations: 27.88 kB / 428 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3382, allocations: 0 / 428 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.3383, allocations: 12 kB / 428.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3383, allocations: 3.984 kB / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3383, allocations: 4 kB / 428.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.3384, allocations: 104.7 kB / 428.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 0 / 428.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3387, allocations: 11.95 kB / 428.2 MB, free: 8.656 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0007059/0.3394, allocations: 0.8421 MB / 429 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3396, allocations: 64.34 kB / 429.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3396, allocations: 192 / 429.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.3396, allocations: 19.92 kB / 429.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3401, allocations: 43.83 kB / 429.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3419, allocations: 1.588 MB / 430.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3422, allocations: 0.7048 MB / 431.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.3422, allocations: 4.672 kB / 431.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.3423, allocations: 19.44 kB / 431.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3423, allocations: 0 / 431.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.372, allocations: 2.023 MB / 433.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.08, allocations: 4 kB / 433.5 MB, free: 3.285 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73790791799911]