Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001971/0.001971, allocations: 124.4 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.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.002081/0.002081, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.648/1.648, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 53.31 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003598/0.1395, allocations: 1.598 MB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1407, allocations: 0.5415 MB / 428.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.1408, allocations: 3.938 kB / 428.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.1408, allocations: 3.938 kB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.141, allocations: 15.92 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1414, allocations: 47.83 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1415, allocations: 55.78 kB / 428.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1417, allocations: 11.98 kB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1418, allocations: 27.92 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.1419, allocations: 19.86 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1419, allocations: 4 kB / 428.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.142, allocations: 8 kB / 428.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.142, allocations: 19.91 kB / 428.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1421, allocations: 27.8 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1423, allocations: 59.69 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1423, allocations: 3.938 kB / 428.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1423, allocations: 4 kB / 428.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1423, allocations: 0 / 428.8 MB, free: 2.332 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006722/0.143, allocations: 383 kB / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.143, allocations: 8.031 kB / 429.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1431, allocations: 34.75 kB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.1433, allocations: 24.83 kB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1436, allocations: 196.2 kB / 429.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1436, allocations: 12.31 kB / 429.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1437, allocations: 4.375 kB / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.144, allocations: 113.2 kB / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.144, allocations: 0 / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.144, allocations: 0 / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.144, allocations: 8 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.1441, allocations: 19.98 kB / 429.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1445, allocations: 269.7 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1448, allocations: 138.3 kB / 429.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.1449, allocations: 29.7 kB / 430 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1449, allocations: 3.984 kB / 430 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1449, allocations: 34.56 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1449, allocations: 0 / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002913/0.1452, allocations: 81.69 kB / 430.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1453, allocations: 81.11 kB / 430.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1454, allocations: 143.9 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1454, allocations: 25.7 kB / 430.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.1455, allocations: 84.14 kB / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1455, allocations: 11.95 kB / 430.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.1456, allocations: 17.7 kB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1457, allocations: 318.8 kB / 430.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1458, allocations: 15.98 kB / 430.8 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1458, allocations: 31.42 kB / 430.8 MB, free: 16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.146, allocations: 51.36 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.146, allocations: 0 / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000155/0.1461, allocations: 73.52 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1461, allocations: 6.031 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1461, allocations: 3.938 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1462, allocations: 7.938 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.1463, allocations: 11.98 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1463, allocations: 4.125 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.1463, allocations: 8 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1463, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001239/0.1464, allocations: 125.8 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.1465, allocations: 49.58 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1466, allocations: 12.25 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1466, allocations: 336 / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1466, allocations: 4 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1466, allocations: 0 / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1468, allocations: 169.6 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.1468, allocations: 8 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.1469, allocations: 11.97 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.1469, allocations: 4 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1469, allocations: 0 / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1469, allocations: 0 / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1469, allocations: 0 / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1471, allocations: 180.2 kB / 431.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.1472, allocations: 92.98 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1472, allocations: 4 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1473, allocations: 3.984 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1473, allocations: 4 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1473, allocations: 4 kB / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1474, allocations: 109.1 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1474, allocations: 0 / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1477, allocations: 8 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.000552/0.1482, allocations: 0.7059 MB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1484, allocations: 23.98 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1484, allocations: 4.25 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.1484, allocations: 15.92 kB / 432.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1488, allocations: 23.52 kB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1504, allocations: 1.366 MB / 433.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1507, allocations: 0.6924 MB / 434.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.1507, allocations: 7.844 kB / 434.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1508, allocations: 15.44 kB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1508, allocations: 4 kB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.1772, allocations: 1.587 MB / 436.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.302, allocations: 10.73 kB / 436.2 MB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_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_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.31506817600166]