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.001801/0.001801, allocations: 124 kB / 17.79 MB, free: 5.266 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.001966/0.001966, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.595/1.595, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.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.001627/0.001627, allocations: 51.92 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1289, allocations: 52.14 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004014/0.1329, allocations: 1.703 MB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005724/0.1335, allocations: 163.4 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1336, allocations: 4 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.442e-05/0.1337, allocations: 11.86 kB / 419.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1339, allocations: 15.88 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.1343, allocations: 43.89 kB / 419.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1344, allocations: 59.83 kB / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1346, allocations: 23.98 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.1346, allocations: 19.92 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.1347, allocations: 31.73 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1347, allocations: 4 kB / 419.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.1347, allocations: 8 kB / 419.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1348, allocations: 15.92 kB / 419.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.1349, allocations: 31.8 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1351, allocations: 75.59 kB / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1351, allocations: 4 kB / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1351, allocations: 0 / 420 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1351, allocations: 0 / 420 MB, free: 10.44 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.0006466/0.1357, allocations: 391 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1358, allocations: 12.03 kB / 420.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.1358, allocations: 34.75 kB / 420.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1359, allocations: 20.83 kB / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1362, allocations: 196.2 kB / 420.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1362, allocations: 384 / 420.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1363, allocations: 8.375 kB / 420.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.1367, allocations: 170.2 kB / 420.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1367, allocations: 7.938 kB / 420.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1367, allocations: 0 / 420.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1367, allocations: 0 / 420.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1368, allocations: 35.97 kB / 420.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.1373, allocations: 361.8 kB / 421.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1376, allocations: 111.9 kB / 421.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1377, allocations: 62.75 kB / 421.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1378, allocations: 0 / 421.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1378, allocations: 46.5 kB / 421.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1378, allocations: 0 / 421.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003804/0.1382, allocations: 121.5 kB / 421.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.1383, allocations: 110.8 kB / 421.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1384, allocations: 140.4 kB / 421.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1384, allocations: 25.7 kB / 421.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1385, allocations: 96 kB / 421.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1385, allocations: 15.89 kB / 421.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1386, allocations: 21.72 kB / 421.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1388, allocations: 322.8 kB / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.1388, allocations: 15.98 kB / 422.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.1389, allocations: 71.72 kB / 422.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1391, allocations: 91.59 kB / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1391, allocations: 0 / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.1393, allocations: 113.4 kB / 422.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1393, allocations: 4 kB / 422.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1393, allocations: 4 kB / 422.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1393, allocations: 4 kB / 422.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.1394, allocations: 19.94 kB / 422.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1394, allocations: 3.984 kB / 422.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.1395, allocations: 4 kB / 422.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1395, allocations: 8.281 kB / 422.6 MB, free: 7.496 MB / 350.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.0001982/0.1397, allocations: 130.4 kB / 422.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1398, allocations: 85.88 kB / 422.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.1399, allocations: 16.7 kB / 422.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1399, allocations: 0 / 422.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1399, allocations: 4 kB / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1399, allocations: 3.938 kB / 422.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.1402, allocations: 185.5 kB / 423 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1402, allocations: 0 / 423 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.1403, allocations: 23.98 kB / 423 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1403, allocations: 4 kB / 423 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1403, allocations: 8 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1403, allocations: 0 / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1403, allocations: 3.938 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.1407, allocations: 316.4 kB / 423.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.1408, allocations: 101.2 kB / 423.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1408, allocations: 4 kB / 423.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.1409, allocations: 4 kB / 423.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.141, allocations: 7.938 kB / 423.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.141, allocations: 0 / 423.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1411, allocations: 113.2 kB / 423.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1411, allocations: 4 kB / 423.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1414, allocations: 12 kB / 423.6 MB, free: 6.383 MB / 350.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.00075/0.1421, allocations: 0.846 MB / 424.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1423, allocations: 59.91 kB / 424.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1423, allocations: 0 / 424.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.1424, allocations: 15.94 kB / 424.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1428, allocations: 35.95 kB / 424.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.1446, allocations: 1.603 MB / 426.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.145, allocations: 0.6969 MB / 426.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.1451, allocations: 8.656 kB / 426.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.1452, allocations: 19.44 kB / 426.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1452, allocations: 0 / 426.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.1721, allocations: 1.887 MB / 428.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.602, allocations: 14.36 kB / 428.8 MB, free: 1.098 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.42229439271614]