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.0009426/0.0009426, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001392/0.001392, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8996/0.8996, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2534/0.2534, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 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 1.472e-06/1.472e-06, allocations: 3.938 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.44e-05, allocations: 2.281 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3047/0.3047, allocations: 160.3 MB / 0.5883 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3064, allocations: 0.8829 MB / 0.5892 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.3067, allocations: 11.88 kB / 0.5892 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.3073, allocations: 202.6 kB / 0.5894 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.3079, allocations: 310 kB / 0.5897 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.3121, allocations: 1.993 MB / 0.5917 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3133, allocations: 0.9899 MB / 0.5926 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.3137, allocations: 276.1 kB / 0.5929 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.3171, allocations: 1.729 MB / 0.5946 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.3176, allocations: 295.2 kB / 0.5949 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.3177, allocations: 47.98 kB / 0.5949 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.3212, allocations: 2.3 MB / 0.5971 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.3214, allocations: 211.4 kB / 0.5974 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.3217, allocations: 203.6 kB / 0.5975 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.3255, allocations: 2.217 MB / 0.5997 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3255, allocations: 4 kB / 0.5997 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.929e-06/0.3255, allocations: 4 kB / 0.5997 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.3255, allocations: 0 / 0.5997 GB, free: 4.449 MB / 0.4948 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.002185/0.3277, allocations: 0.9934 MB / 0.6007 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3277, allocations: 12.03 kB / 0.6007 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.271e-05/0.3278, allocations: 78.52 kB / 0.6008 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.328, allocations: 55.72 kB / 0.6008 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3284, allocations: 315.9 kB / 0.6011 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3284, allocations: 33 kB / 0.6012 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.3285, allocations: 36 kB / 0.6012 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.3292, allocations: 0.774 MB / 0.602 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3292, allocations: 0 / 0.602 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3292, allocations: 16 kB / 0.602 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.3293, allocations: 15.94 kB / 0.602 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.3298, allocations: 0.4904 MB / 0.6025 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3316, allocations: 1.546 MB / 0.604 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.3321, allocations: 373.8 kB / 0.6043 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3323, allocations: 174.4 kB / 0.6045 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.3326, allocations: 127.8 kB / 0.6046 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3326, allocations: 42.55 kB / 0.6047 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.3326, allocations: 0 / 0.6047 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.0007393/0.3334, allocations: 0.4939 MB / 0.6051 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3334, allocations: 114.8 kB / 0.6052 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3337, allocations: 401.5 kB / 0.6056 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.3338, allocations: 37.7 kB / 0.6057 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3339, allocations: 220.5 kB / 0.6059 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.3339, allocations: 111.1 kB / 0.606 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.334, allocations: 78.02 kB / 0.6061 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3341, allocations: 350.8 kB / 0.6064 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3343, allocations: 204 kB / 0.6066 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.3346, allocations: 313.7 kB / 0.6069 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.335, allocations: 483.9 kB / 0.6073 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.335, allocations: 3.984 kB / 0.6073 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006375/0.3357, allocations: 0.6039 MB / 0.6079 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3357, allocations: 67.42 kB / 0.608 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3357, allocations: 0 / 0.608 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3357, allocations: 8 kB / 0.608 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.336, allocations: 79.89 kB / 0.6081 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.336, allocations: 8 kB / 0.6081 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.3362, allocations: 59.55 kB / 0.6082 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3362, allocations: 19.98 kB / 0.6082 GB, free: 11.3 MB / 0.5105 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.0001663/0.3364, allocations: 178.3 kB / 0.6083 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3364, allocations: 51.64 kB / 0.6084 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.3371, allocations: 496.6 kB / 0.6089 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3371, allocations: 4 kB / 0.6089 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3371, allocations: 0 / 0.6089 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3371, allocations: 3.984 kB / 0.6089 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3386, allocations: 1.256 MB / 0.6101 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3386, allocations: 0 / 0.6101 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3387, allocations: 63.91 kB / 0.6102 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3387, allocations: 4 kB / 0.6102 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3388, allocations: 12.17 kB / 0.6102 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3388, allocations: 8 kB / 0.6102 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3388, allocations: 5.812 kB / 0.6102 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.3392, allocations: 0.629 MB / 0.6108 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.3393, allocations: 51.64 kB / 0.6109 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.3394, allocations: 17.25 kB / 0.6109 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3396, allocations: 23.91 kB / 0.6109 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.3396, allocations: 27.91 kB / 0.6109 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3396, allocations: 23.98 kB / 0.6109 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002627/0.3399, allocations: 363.1 kB / 0.6113 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3399, allocations: 4 kB / 0.6113 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008082/0.3407, allocations: 355 kB / 0.6116 GB, free: 7.641 MB / 0.5105 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.001543/0.3423, allocations: 1.604 MB / 0.6132 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005836/0.3428, allocations: 0.4978 MB / 0.6137 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3428, allocations: 0 / 0.6137 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.343, allocations: 156.7 kB / 0.6138 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.3439, allocations: 283.9 kB / 0.6141 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.3483, allocations: 4.811 MB / 0.6188 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3485, allocations: 240.1 kB / 0.619 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.3489, allocations: 111.2 kB / 0.6191 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.349, allocations: 156.4 kB / 0.6193 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.349, allocations: 3.938 kB / 0.6193 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1903/0.5393, allocations: 21.62 MB / 0.6404 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.93, allocations: 3.438 kB / 0.6404 GB, free: 164 MB / 0.5261 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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: 10.054000901058316]