Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00161/0.00161, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.003201/0.003201, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.658/1.658, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2416/0.2416, allocations: 46.88 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 75.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3742, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5463/0.9205, allocations: 185.5 MB / 0.7424 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.9224, allocations: 0.9052 MB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.9227, allocations: 15.28 kB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.9234, allocations: 209.4 kB / 0.7435 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.924, allocations: 288.7 kB / 0.7438 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.9284, allocations: 1.936 MB / 0.7456 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.9295, allocations: 0.9807 MB / 0.7466 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.9298, allocations: 280.6 kB / 0.7469 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.9325, allocations: 1.583 MB / 0.7484 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.933, allocations: 346.2 kB / 0.7487 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.9331, allocations: 46.59 kB / 0.7488 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/0.9372, allocations: 2.856 MB / 0.7516 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.9374, allocations: 203.7 kB / 0.7518 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.9377, allocations: 270.2 kB / 0.752 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.9407, allocations: 2.056 MB / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9407, allocations: 0 / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9407, allocations: 1.156 kB / 0.754 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.9408, allocations: 0 / 0.754 GB, free: 1.543 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.001897/0.9427, allocations: 1.089 MB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.9427, allocations: 10.22 kB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.943, allocations: 55.88 kB / 0.7552 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.9435, allocations: 388 kB / 0.7555 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.9435, allocations: 31.47 kB / 0.7556 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.9436, allocations: 34.78 kB / 0.7556 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.9444, allocations: 0.5202 MB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.9444, allocations: 4.062 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.9444, allocations: 16 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.9445, allocations: 8.656 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.9452, allocations: 496.3 kB / 0.7566 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.9478, allocations: 1.975 MB / 0.7585 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.9485, allocations: 437.7 kB / 0.759 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.9488, allocations: 175.2 kB / 0.7591 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009256/0.9497, allocations: 0.9496 MB / 0.7601 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9497, allocations: 39.19 kB / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.9497, allocations: 0 / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001004/0.9507, allocations: 0.4995 MB / 0.7606 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.9508, allocations: 107.3 kB / 0.7607 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.9512, allocations: 399.8 kB / 0.7611 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.9512, allocations: 37.33 kB / 0.7611 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.9513, allocations: 216.9 kB / 0.7613 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.9514, allocations: 111.1 kB / 0.7614 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9515, allocations: 80.17 kB / 0.7615 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9517, allocations: 358 kB / 0.7618 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.952, allocations: 147 kB / 0.762 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.9523, allocations: 265.4 kB / 0.7622 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.9529, allocations: 489.5 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9529, allocations: 3.25 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009034/0.9538, allocations: 0.5412 MB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.9539, allocations: 63.97 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9539, allocations: 2.812 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9539, allocations: 8.938 kB / 0.7633 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.9543, allocations: 86.83 kB / 0.7634 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9543, allocations: 11.66 kB / 0.7634 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.9546, allocations: 52.48 kB / 0.7634 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.9547, allocations: 19.94 kB / 0.7635 GB, free: 12.61 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.0002138/0.9549, allocations: 193.9 kB / 0.7636 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.955, allocations: 40.58 kB / 0.7637 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.9559, allocations: 489.5 kB / 0.7641 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9559, allocations: 4.797 kB / 0.7641 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9559, allocations: 2.75 kB / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9559, allocations: 5 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.9589, allocations: 2.437 MB / 0.7665 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9589, allocations: 5.797 kB / 0.7665 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.9592, allocations: 59.81 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9592, allocations: 3.312 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.9592, allocations: 10.12 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9592, allocations: 8.922 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9592, allocations: 2.25 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.96, allocations: 0.636 MB / 0.7672 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.9602, allocations: 129.5 kB / 0.7674 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.9602, allocations: 13.34 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.9607, allocations: 21.25 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.9607, allocations: 29.61 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.9608, allocations: 22.64 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003428/0.9611, allocations: 363.3 kB / 0.7678 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9611, allocations: 0 / 0.7678 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001097/0.9622, allocations: 354.1 kB / 0.7681 GB, free: 9.879 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.001075/0.9633, allocations: 0.5083 MB / 0.7686 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007698/0.9641, allocations: 458.2 kB / 0.7691 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9641, allocations: 8.766 kB / 0.7691 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.9643, allocations: 159.3 kB / 0.7692 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.9658, allocations: 274.6 kB / 0.7695 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.967, allocations: 0.8153 MB / 0.7703 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.9675, allocations: 0.833 MB / 0.7711 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003763/0.9679, allocations: 123.5 kB / 0.7712 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.968, allocations: 47.17 kB / 0.7713 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.968, allocations: 2.031 kB / 0.7713 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of Templates: time 0.0218/0.9898, allocations: 15.24 MB / 0.7861 GB, free: 5.367 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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: 6.469730851240456]