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.001826/0.001826, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002114/0.002114, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.599/1.599, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001548/0.001548, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 53.32 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003682/0.1409, allocations: 1.708 MB / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.1414, allocations: 167.4 kB / 428.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1416, allocations: 4 kB / 428.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.1416, allocations: 7.875 kB / 428.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1418, allocations: 11.94 kB / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1421, allocations: 43.83 kB / 428.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1422, allocations: 55.84 kB / 428.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1423, allocations: 23.97 kB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.1424, allocations: 27.86 kB / 428.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.1425, allocations: 23.86 kB / 428.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.1425, allocations: 4 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.1425, allocations: 8 kB / 428.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.1426, allocations: 15.92 kB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.1426, allocations: 35.75 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1428, allocations: 63.66 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1428, allocations: 4 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1428, allocations: 3.938 kB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1428, allocations: 4 kB / 428.5 MB, free: 2.582 MB / 350.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.0007209/0.1435, allocations: 391 kB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.1436, allocations: 12.03 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.1436, allocations: 38.73 kB / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1437, allocations: 12.89 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.144, allocations: 200.2 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.144, allocations: 384 / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.144, allocations: 12.38 kB / 429.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1444, allocations: 162.3 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1445, allocations: 3.938 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1445, allocations: 0 / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1445, allocations: 4 kB / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1446, allocations: 43.84 kB / 429.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.1451, allocations: 365.8 kB / 429.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1453, allocations: 111.8 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1455, allocations: 66.64 kB / 429.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1455, allocations: 0 / 429.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1455, allocations: 42.56 kB / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1455, allocations: 0 / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003702/0.1459, allocations: 125.6 kB / 430.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.146, allocations: 106.8 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1461, allocations: 136 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1461, allocations: 33.69 kB / 430.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.1462, allocations: 92.33 kB / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1462, allocations: 11.95 kB / 430.5 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1463, allocations: 29.66 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1465, allocations: 318.8 kB / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.1465, allocations: 11.98 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1466, allocations: 79.7 kB / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1468, allocations: 87.55 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1468, allocations: 0 / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000241/0.147, allocations: 113.7 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.147, allocations: 4 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.147, allocations: 4 kB / 431.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1471, allocations: 4 kB / 431.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.1472, allocations: 19.98 kB / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1472, allocations: 0 / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1472, allocations: 7.953 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1472, allocations: 11.94 kB / 431.1 MB, free: 15.63 MB / 366.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.000125/0.1473, allocations: 129.7 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1475, allocations: 73.72 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.1475, allocations: 16.7 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1475, allocations: 0 / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1475, allocations: 4 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1475, allocations: 3.984 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1478, allocations: 189.5 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1478, allocations: 0 / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.1479, allocations: 24.11 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1479, allocations: 0 / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1479, allocations: 7.938 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1479, allocations: 4 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1479, allocations: 0 / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1484, allocations: 320.2 kB / 431.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.1484, allocations: 96.98 kB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1485, allocations: 8 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.1486, allocations: 4 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1486, allocations: 7.984 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1486, allocations: 0 / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.1487, allocations: 105.8 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1487, allocations: 4 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.149, allocations: 8 kB / 432.1 MB, free: 14.54 MB / 366.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.0007517/0.1497, allocations: 0.8421 MB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1499, allocations: 67.84 kB / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1499, allocations: 0 / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.15, allocations: 15.98 kB / 433 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1505, allocations: 51.62 kB / 433.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1523, allocations: 1.591 MB / 434.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1527, allocations: 0.7002 MB / 435.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.1527, allocations: 4.656 kB / 435.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1528, allocations: 19.44 kB / 435.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1528, allocations: 0 / 435.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1793, allocations: 1.866 MB / 437.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.327, allocations: 14.72 kB / 437.3 MB, free: 9.27 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.260129275993677]