Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.001381/0.001381, allocations: 110 kB / 20.43 MB, free: 1.453 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.00155/0.00155, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.92 MB / 360.8 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 79.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3213, allocations: 66.09 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5474/0.8687, allocations: 185.5 MB / 0.7419 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.8704, allocations: 0.8965 MB / 0.7428 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.8707, allocations: 15.12 kB / 0.7428 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.8715, allocations: 212.3 kB / 0.743 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.872, allocations: 293.9 kB / 0.7433 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.8764, allocations: 1.97 MB / 0.7452 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.878, allocations: 0.9949 MB / 0.7462 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.8784, allocations: 280.7 kB / 0.7465 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.8823, allocations: 1.598 MB / 0.748 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.8829, allocations: 343.4 kB / 0.7484 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.883, allocations: 46.78 kB / 0.7484 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/0.8879, allocations: 2.891 MB / 0.7512 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.8882, allocations: 208.1 kB / 0.7514 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.8885, allocations: 271.1 kB / 0.7517 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.8919, allocations: 2.06 MB / 0.7537 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8919, allocations: 1.953 kB / 0.7537 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8919, allocations: 3 kB / 0.7537 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.8919, allocations: 0.625 kB / 0.7537 GB, free: 1.555 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001928/0.8939, allocations: 1.008 MB / 0.7547 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8939, allocations: 8.281 kB / 0.7547 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/0.894, allocations: 77.36 kB / 0.7548 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.8942, allocations: 60.16 kB / 0.7548 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.8948, allocations: 325.3 kB / 0.7551 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.8948, allocations: 24.84 kB / 0.7552 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.8949, allocations: 41.34 kB / 0.7552 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.8956, allocations: 0.5161 MB / 0.7557 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.8956, allocations: 0 / 0.7557 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.8957, allocations: 15.19 kB / 0.7557 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8957, allocations: 12.06 kB / 0.7557 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.8964, allocations: 0.4898 MB / 0.7562 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.8988, allocations: 1.944 MB / 0.7581 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.8994, allocations: 365 kB / 0.7585 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.8997, allocations: 167.5 kB / 0.7586 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/0.9001, allocations: 134.3 kB / 0.7587 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.9002, allocations: 42.25 kB / 0.7588 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.9002, allocations: 0 / 0.7588 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.00104/0.9012, allocations: 0.4938 MB / 0.7593 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.9013, allocations: 110.2 kB / 0.7594 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.9017, allocations: 398.9 kB / 0.7597 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.9017, allocations: 32.95 kB / 0.7598 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.9019, allocations: 216.1 kB / 0.76 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.9019, allocations: 119.9 kB / 0.7601 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9021, allocations: 72.58 kB / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.9022, allocations: 357.7 kB / 0.7605 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.9025, allocations: 152.7 kB / 0.7607 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.9028, allocations: 253.4 kB / 0.7609 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.9035, allocations: 488.8 kB / 0.7614 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9035, allocations: 0 / 0.7614 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008784/0.9044, allocations: 0.5485 MB / 0.7619 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.9044, allocations: 66.05 kB / 0.762 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.9044, allocations: 6.094 kB / 0.762 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9044, allocations: 5.094 kB / 0.762 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.9048, allocations: 80.42 kB / 0.762 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.9048, allocations: 16.61 kB / 0.7621 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.9052, allocations: 51.27 kB / 0.7621 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.9052, allocations: 23.28 kB / 0.7621 GB, free: 13.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002201/0.9054, allocations: 185 kB / 0.7623 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.9055, allocations: 41.83 kB / 0.7624 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009107/0.9065, allocations: 496.2 kB / 0.7628 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9065, allocations: 3.781 kB / 0.7628 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9065, allocations: 0 / 0.7628 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9065, allocations: 11.38 kB / 0.7628 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.9088, allocations: 1.36 MB / 0.7642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.9088, allocations: 3.125 kB / 0.7642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.9091, allocations: 64.48 kB / 0.7642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.9091, allocations: 5.344 kB / 0.7642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.9091, allocations: 10.61 kB / 0.7642 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9091, allocations: 6.031 kB / 0.7643 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9091, allocations: 0.8438 kB / 0.7643 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.9099, allocations: 0.6426 MB / 0.7649 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.9099, allocations: 54.06 kB / 0.7649 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.91, allocations: 10.47 kB / 0.7649 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.9104, allocations: 24.92 kB / 0.765 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.9105, allocations: 30.58 kB / 0.765 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.9105, allocations: 19.89 kB / 0.765 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003379/0.9109, allocations: 365.6 kB / 0.7654 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9109, allocations: 0.8438 kB / 0.7654 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00103/0.9119, allocations: 356.4 kB / 0.7657 GB, free: 12.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * 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.002105/0.914, allocations: 1.58 MB / 0.7672 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007871/0.9148, allocations: 462 kB / 0.7677 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9148, allocations: 0 / 0.7677 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.915, allocations: 154.9 kB / 0.7678 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.9164, allocations: 284.7 kB / 0.7681 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/0.9233, allocations: 4.597 MB / 0.7726 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.9239, allocations: 0.8394 MB / 0.7734 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005401/0.9245, allocations: 115.8 kB / 0.7735 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.9247, allocations: 146.7 kB / 0.7737 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.9247, allocations: 0.9062 kB / 0.7737 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/0.978, allocations: 20.12 MB / 0.7933 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.05, allocations: 11.05 kB / 0.7933 GB, free: 2.617 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable traceSubstance.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.153307804997894]