Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 206.4 kB / 23.73 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003238, allocations: 63.89 kB / 377.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2681, allocations: 53.41 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003785/0.2718, allocations: 1.695 MB / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000496/0.2723, allocations: 163.4 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2724, allocations: 0 / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.001e-05/0.2725, allocations: 15.86 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2726, allocations: 7.938 kB / 433 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.2729, allocations: 46.58 kB / 433.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.273, allocations: 51.84 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2732, allocations: 19.98 kB / 433.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.2732, allocations: 27.91 kB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.2733, allocations: 23.86 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2733, allocations: 8 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.2733, allocations: 4 kB / 433.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.2734, allocations: 15.92 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.2734, allocations: 23.81 kB / 433.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.2736, allocations: 72.08 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2736, allocations: 0 / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2736, allocations: 0 / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2736, allocations: 11.88 kB / 433.3 MB, free: 4.258 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.0005466/0.2741, allocations: 313.9 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2742, allocations: 15.98 kB / 433.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.2742, allocations: 38.75 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.2742, allocations: 12.89 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.2745, allocations: 145.2 kB / 433.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2745, allocations: 384 / 433.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2746, allocations: 16.36 kB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2749, allocations: 158.4 kB / 434 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2749, allocations: 7.938 kB / 434 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.275, allocations: 0 / 434 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.275, allocations: 8 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2751, allocations: 35.92 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2755, allocations: 329 kB / 434.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2757, allocations: 115.8 kB / 434.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.2758, allocations: 54.56 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2759, allocations: 7.984 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2759, allocations: 34.56 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2759, allocations: 0 / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003313/0.2762, allocations: 129.6 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.2763, allocations: 106.8 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2764, allocations: 133.8 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2764, allocations: 29.7 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2765, allocations: 92.08 kB / 435.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2765, allocations: 15.88 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.2766, allocations: 21.97 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2767, allocations: 330.8 kB / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.2767, allocations: 11.98 kB / 435.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.2768, allocations: 75.66 kB / 435.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.277, allocations: 91.59 kB / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.277, allocations: 0 / 435.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.2772, allocations: 105.4 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2772, allocations: 4 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2772, allocations: 4.281 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2772, allocations: 4 kB / 435.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.2773, allocations: 19.98 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2773, allocations: 4 kB / 435.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.2773, allocations: 15.94 kB / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2773, allocations: 4 kB / 435.8 MB, free: 1.512 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 9.921e-05/0.2774, allocations: 130.6 kB / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2776, allocations: 73.64 kB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.2776, allocations: 12.72 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2776, allocations: 0 / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2776, allocations: 4 kB / 436 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2776, allocations: 7.984 kB / 436 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.2778, allocations: 148.6 kB / 436.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2778, allocations: 0 / 436.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.2779, allocations: 23.94 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2779, allocations: 0 / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2779, allocations: 4 kB / 436.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2779, allocations: 3.984 kB / 436.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2779, allocations: 3.938 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.2783, allocations: 316.4 kB / 436.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.2784, allocations: 27.88 kB / 436.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2784, allocations: 8.094 kB / 436.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.2785, allocations: 7.938 kB / 436.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.2785, allocations: 3.984 kB / 436.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.2785, allocations: 4 kB / 436.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.854e-05/0.2786, allocations: 105.6 kB / 436.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2786, allocations: 0 / 436.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.2789, allocations: 12 kB / 436.6 MB, free: 0.5508 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.0006339/0.2795, allocations: 0.846 MB / 437.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.2797, allocations: 63.84 kB / 437.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2797, allocations: 0 / 437.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.2797, allocations: 8.609 kB / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.2802, allocations: 57.75 kB / 437.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2819, allocations: 1.581 MB / 439.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.043e-05/0.282, allocations: 83.28 kB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.282, allocations: 12.66 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.282, allocations: 19.44 kB / 439.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.282, allocations: 0 / 439.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3093, allocations: 2.419 MB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.2, allocations: 8 kB / 441.7 MB, free: 11.38 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.793148000724614]