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.001848/0.001848, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002363/0.002363, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.484/1.484, allocations: 230.4 MB / 254 MB, free: 15.04 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.2353/0.2353, allocations: 46.92 MB / 357 MB, free: 10.28 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.002461/0.002461, allocations: 75.88 kB / 0.491 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1166, allocations: 66.04 MB / 0.5555 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4581/0.5747, allocations: 185.3 MB / 0.7364 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.5767, allocations: 0.8969 MB / 0.7373 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.577, allocations: 15.88 kB / 0.7373 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.5777, allocations: 214.7 kB / 0.7375 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.5784, allocations: 286.3 kB / 0.7378 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.5835, allocations: 1.933 MB / 0.7397 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.5849, allocations: 0.9749 MB / 0.7406 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.5854, allocations: 297.5 kB / 0.7409 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.5889, allocations: 1.585 MB / 0.7424 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.5895, allocations: 342.7 kB / 0.7428 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.5896, allocations: 48 kB / 0.7428 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.5947, allocations: 2.858 MB / 0.7456 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.595, allocations: 195.4 kB / 0.7458 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.5954, allocations: 270.8 kB / 0.746 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.5992, allocations: 2.068 MB / 0.7481 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5992, allocations: 4 kB / 0.7481 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5992, allocations: 0 / 0.7481 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.5992, allocations: 0 / 0.7481 GB, free: 11.77 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.002177/0.6014, allocations: 1.077 MB / 0.7491 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.6014, allocations: 12.03 kB / 0.7491 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.6015, allocations: 78.47 kB / 0.7492 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.6018, allocations: 64.53 kB / 0.7493 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.6024, allocations: 382.1 kB / 0.7496 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.6025, allocations: 29 kB / 0.7497 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.6025, allocations: 36 kB / 0.7497 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6036, allocations: 0.5197 MB / 0.7502 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6036, allocations: 4 kB / 0.7502 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.6036, allocations: 12 kB / 0.7502 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6036, allocations: 12 kB / 0.7502 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.6046, allocations: 495.5 kB / 0.7507 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.6074, allocations: 1.978 MB / 0.7526 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.6082, allocations: 442.2 kB / 0.7531 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.6086, allocations: 170.5 kB / 0.7532 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.6095, allocations: 0.9494 MB / 0.7541 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.6095, allocations: 42.5 kB / 0.7542 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.6095, allocations: 0 / 0.7542 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001307/0.6108, allocations: 0.4979 MB / 0.7547 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6109, allocations: 106.8 kB / 0.7548 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.6114, allocations: 401.6 kB / 0.7552 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.6114, allocations: 33.7 kB / 0.7552 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.6116, allocations: 220.5 kB / 0.7554 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6117, allocations: 107.1 kB / 0.7555 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.6119, allocations: 82.02 kB / 0.7556 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.612, allocations: 350.8 kB / 0.7559 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.6124, allocations: 152.6 kB / 0.7561 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.6128, allocations: 266.7 kB / 0.7563 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/0.6136, allocations: 479.8 kB / 0.7568 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6136, allocations: 0 / 0.7568 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001129/0.6148, allocations: 0.5509 MB / 0.7573 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.6148, allocations: 65.44 kB / 0.7574 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.6148, allocations: 4 kB / 0.7574 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.6148, allocations: 4 kB / 0.7574 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.6153, allocations: 91.81 kB / 0.7575 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6153, allocations: 8 kB / 0.7575 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.6156, allocations: 51.61 kB / 0.7575 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.6157, allocations: 23.94 kB / 0.7575 GB, free: 1.336 MB / 0.5606 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.0002796/0.616, allocations: 189.6 kB / 0.7577 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6161, allocations: 43.77 kB / 0.7578 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.6172, allocations: 486 kB / 0.7582 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.6172, allocations: 4 kB / 0.7582 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6172, allocations: 4 kB / 0.7582 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6172, allocations: 4 kB / 0.7582 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.6206, allocations: 2.433 MB / 0.7606 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6206, allocations: 0 / 0.7606 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.6209, allocations: 67.83 kB / 0.7607 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.621, allocations: 4 kB / 0.7607 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.621, allocations: 11.94 kB / 0.7607 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.621, allocations: 4 kB / 0.7607 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.621, allocations: 0.625 kB / 0.7607 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.6219, allocations: 0.6481 MB / 0.7613 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.622, allocations: 124.7 kB / 0.7615 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.6221, allocations: 19.92 kB / 0.7615 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.6226, allocations: 15.98 kB / 0.7615 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.6226, allocations: 28.66 kB / 0.7615 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.6227, allocations: 19.98 kB / 0.7615 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004392/0.6231, allocations: 367.1 kB / 0.7619 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6231, allocations: 0 / 0.7619 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001128/0.6242, allocations: 355 kB / 0.7622 GB, free: 12.12 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.002463/0.6267, allocations: 1.572 MB / 0.7638 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009635/0.6277, allocations: 458.6 kB / 0.7642 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6277, allocations: 3.938 kB / 0.7642 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.628, allocations: 168.8 kB / 0.7644 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6296, allocations: 279.1 kB / 0.7646 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.6366, allocations: 4.604 MB / 0.7691 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.6371, allocations: 0.8468 MB / 0.77 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004947/0.6376, allocations: 114.4 kB / 0.7701 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.6378, allocations: 151.4 kB / 0.7702 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.6378, allocations: 0 / 0.7702 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/0.688, allocations: 19.78 MB / 0.7895 GB, free: 72 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.223/9.911, allocations: 9.391 kB / 0.7895 GB, free: 68 kB / 0.5919 GB " [Timeout remaining time 650] (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: 13.074220107984729]