Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.00125/0.00125, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001396/0.001396, allocations: 212.6 kB / 23.72 MB, free: 4.391 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003164/0.2476, allocations: 1.691 MB / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004811/0.248, allocations: 163.4 kB / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.2481, allocations: 0 / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.2482, allocations: 15.86 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2483, allocations: 7.938 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2486, allocations: 47.83 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2487, allocations: 51.84 kB / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2488, allocations: 19.98 kB / 433.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.2488, allocations: 23.92 kB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.2489, allocations: 31.78 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2489, allocations: 4 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.2489, allocations: 4 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.249, allocations: 19.88 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.249, allocations: 23.86 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2492, allocations: 73.28 kB / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2492, allocations: 0 / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2492, allocations: 3.938 kB / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2492, allocations: 4 kB / 433.3 MB, free: 4.469 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.0004796/0.2497, allocations: 317.9 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2497, allocations: 12.03 kB / 433.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.2497, allocations: 34.75 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2498, allocations: 12.89 kB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.25, allocations: 142.3 kB / 433.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.25, allocations: 4.375 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.25, allocations: 8.375 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.2504, allocations: 166.3 kB / 434 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2504, allocations: 3.938 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2504, allocations: 4 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2504, allocations: 7.984 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2505, allocations: 35.92 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.2509, allocations: 329 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2511, allocations: 115.8 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.2512, allocations: 50.62 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2512, allocations: 4 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2513, allocations: 38.55 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2513, allocations: 0 / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003209/0.2516, allocations: 121.6 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.2517, allocations: 114.8 kB / 434.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2518, allocations: 136.6 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2518, allocations: 25.7 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2519, allocations: 92.39 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.2519, allocations: 19.88 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.2519, allocations: 21.67 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2521, allocations: 326.8 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.2521, allocations: 12 kB / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.2522, allocations: 75.64 kB / 435.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2523, allocations: 95.59 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2523, allocations: 192 / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.2525, allocations: 105.7 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2525, allocations: 7.938 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2525, allocations: 4 kB / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2526, allocations: 0 / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.2526, allocations: 19.98 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2526, allocations: 4 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.2527, allocations: 7.953 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2527, allocations: 11.98 kB / 435.7 MB, free: 1.727 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.0001106/0.2528, allocations: 129.7 kB / 435.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2529, allocations: 73.64 kB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.253, allocations: 20.69 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.253, allocations: 0 / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.253, allocations: 0 / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.253, allocations: 7.984 kB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2532, allocations: 148.6 kB / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2532, allocations: 0 / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.2533, allocations: 23.92 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2533, allocations: 0 / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2533, allocations: 4 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2533, allocations: 0 / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2533, allocations: 3.984 kB / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.2537, allocations: 320.2 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2537, allocations: 27.88 kB / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2537, allocations: 0 / 436.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.2538, allocations: 4 kB / 436.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2538, allocations: 7.984 kB / 436.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2538, allocations: 4 kB / 436.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.2539, allocations: 103.3 kB / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2539, allocations: 0 / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2542, allocations: 12 kB / 436.6 MB, free: 0.7695 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.0006289/0.2548, allocations: 0.8423 MB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.255, allocations: 67.78 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.255, allocations: 0.5625 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.255, allocations: 15.98 kB / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.2555, allocations: 47.88 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.257, allocations: 1.58 MB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.2571, allocations: 87.41 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2571, allocations: 8.656 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2572, allocations: 19.44 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2572, allocations: 0 / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.2858, allocations: 2.418 MB / 441.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.34, allocations: 8.062 kB / 441.7 MB, free: 11.63 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.915575238876045]