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.001357/0.001357, allocations: 114 kB / 20.43 MB, free: 1.457 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.001466/0.001466, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.001806/0.001806, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2549, allocations: 53.41 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003146/0.258, allocations: 1.714 MB / 432.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004863/0.2585, allocations: 167.4 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.2586, allocations: 3.938 kB / 433.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.2586, allocations: 11.94 kB / 433.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.2588, allocations: 11.88 kB / 433.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.259, allocations: 43.88 kB / 433.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2591, allocations: 47.86 kB / 433.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2592, allocations: 23.98 kB / 433.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.2593, allocations: 27.84 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.2593, allocations: 27.86 kB / 433.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2594, allocations: 4 kB / 433.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.2594, allocations: 4 kB / 433.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.2594, allocations: 15.92 kB / 433.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.2595, allocations: 39.75 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2596, allocations: 68.08 kB / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2596, allocations: 0 / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2596, allocations: 0 / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2596, allocations: 0 / 433.4 MB, free: 4.621 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.0005565/0.2602, allocations: 321.8 kB / 433.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2602, allocations: 8.031 kB / 433.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.2603, allocations: 42.73 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.2603, allocations: 20.77 kB / 433.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2605, allocations: 142.4 kB / 433.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2606, allocations: 8.375 kB / 433.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2606, allocations: 4.375 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.2609, allocations: 162.4 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2609, allocations: 7.938 kB / 434.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2609, allocations: 3.984 kB / 434.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.261, allocations: 0 / 434.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2611, allocations: 39.91 kB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.2615, allocations: 340.9 kB / 434.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.2618, allocations: 107.9 kB / 434.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2619, allocations: 54.56 kB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2619, allocations: 4 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2619, allocations: 38.55 kB / 434.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.262, allocations: 0 / 434.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003581/0.2623, allocations: 117.7 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.2624, allocations: 119 kB / 434.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2625, allocations: 137.8 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2625, allocations: 25.7 kB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.2626, allocations: 84.14 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.2626, allocations: 19.88 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.2627, allocations: 21.72 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2628, allocations: 326.7 kB / 435.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.2629, allocations: 12 kB / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.263, allocations: 71.7 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2631, allocations: 95.59 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2631, allocations: 0 / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.2633, allocations: 109.4 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2633, allocations: 10.59 kB / 435.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2633, allocations: 4 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2633, allocations: 4 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.2634, allocations: 19.98 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2634, allocations: 0 / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.2635, allocations: 12.23 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2635, allocations: 8 kB / 435.9 MB, free: 1.863 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.0001026/0.2636, allocations: 129.9 kB / 436 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2637, allocations: 73.64 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.2638, allocations: 20.66 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2638, allocations: 0 / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2638, allocations: 0 / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2638, allocations: 4 kB / 436.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.264, allocations: 160.6 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.264, allocations: 0 / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.2641, allocations: 23.94 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2641, allocations: 0 / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2641, allocations: 11.98 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2641, allocations: 0 / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2641, allocations: 0 / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.2645, allocations: 324.2 kB / 436.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.2646, allocations: 23.88 kB / 436.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2646, allocations: 4 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.2647, allocations: 4 kB / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.2647, allocations: 3.984 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2647, allocations: 4 kB / 436.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.021e-05/0.2648, allocations: 103.3 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2648, allocations: 0 / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.2651, allocations: 16 kB / 436.7 MB, free: 0.8906 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.0006418/0.2657, allocations: 0.8382 MB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2659, allocations: 63.78 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2659, allocations: 4 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.266, allocations: 7.984 kB / 437.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2664, allocations: 59.44 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.268, allocations: 1.574 MB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.2684, allocations: 0.7002 MB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.2684, allocations: 0.6719 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.2684, allocations: 27.38 kB / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2684, allocations: 0 / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.2973, allocations: 2.036 MB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.04, allocations: 3.859 kB / 442 MB, free: 11.5 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.653190051998536]