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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009719/0.0009718, allocations: 96.42 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001329, allocations: 207.6 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.000257, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.11, allocations: 63.55 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4053/0.5153, allocations: 180.9 MB / 0.6491 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.5173, allocations: 0.9133 MB / 0.65 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.5177, allocations: 7.938 kB / 0.65 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.5184, allocations: 179.1 kB / 0.6501 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.519, allocations: 270.5 kB / 0.6504 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.5236, allocations: 1.657 MB / 0.652 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.5251, allocations: 1.306 MB / 0.6533 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.5257, allocations: 265.3 kB / 0.6536 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.5291, allocations: 1.433 MB / 0.655 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.5297, allocations: 318.9 kB / 0.6553 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5298, allocations: 27.94 kB / 0.6553 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.5344, allocations: 2.869 MB / 0.6581 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.5347, allocations: 171.5 kB / 0.6582 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.535, allocations: 272.5 kB / 0.6585 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.5372, allocations: 1.442 MB / 0.6599 GB, free: 4.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5372, allocations: 3.938 kB / 0.6599 GB, free: 4.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.5372, allocations: 0 / 0.6599 GB, free: 4.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.5373, allocations: 3.938 kB / 0.6599 GB, free: 4.406 MB / 494.1 MB 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.001892/0.5392, allocations: 0.9546 MB / 0.6609 GB, free: 3.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5392, allocations: 11.97 kB / 0.6609 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.5395, allocations: 59.42 kB / 0.6609 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.54, allocations: 365.9 kB / 0.6613 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.5401, allocations: 25 kB / 0.6613 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.5402, allocations: 43.94 kB / 0.6613 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/0.5412, allocations: 0.5198 MB / 0.6618 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5412, allocations: 0 / 0.6618 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.5412, allocations: 16 kB / 0.6619 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.5412, allocations: 15.98 kB / 0.6619 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.5422, allocations: 0.5003 MB / 0.6624 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.545, allocations: 1.983 MB / 0.6643 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.5457, allocations: 464.7 kB / 0.6647 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.5461, allocations: 182.5 kB / 0.6649 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/0.5469, allocations: 0.9454 MB / 0.6658 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5469, allocations: 46.72 kB / 0.6659 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.714e-06/0.5469, allocations: 4 kB / 0.6659 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001142/0.5481, allocations: 0.5008 MB / 0.6664 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.5481, allocations: 110.8 kB / 0.6665 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.5486, allocations: 393.7 kB / 0.6669 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.5487, allocations: 37.7 kB / 0.6669 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.5488, allocations: 220.1 kB / 0.6671 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.5489, allocations: 110.4 kB / 0.6672 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.549, allocations: 37.7 kB / 0.6672 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5491, allocations: 350.8 kB / 0.6676 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.5495, allocations: 156.6 kB / 0.6677 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.5499, allocations: 266.2 kB / 0.668 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.5507, allocations: 0.4918 MB / 0.6685 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5507, allocations: 4 kB / 0.6685 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001051/0.5517, allocations: 0.5587 MB / 0.669 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.5518, allocations: 63.41 kB / 0.6691 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5518, allocations: 4 kB / 0.6691 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5518, allocations: 8 kB / 0.6691 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5522, allocations: 84.23 kB / 0.6692 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.5523, allocations: 20.72 kB / 0.6692 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.5526, allocations: 55.52 kB / 0.6692 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.5527, allocations: 20 kB / 0.6693 GB, free: 10.11 MB / 0.4981 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.0002415/0.553, allocations: 177.7 kB / 0.6694 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5531, allocations: 47.72 kB / 0.6695 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.5542, allocations: 0.4953 MB / 0.67 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5542, allocations: 4 kB / 0.67 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5542, allocations: 0 / 0.67 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5542, allocations: 3.984 kB / 0.67 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.5571, allocations: 2.444 MB / 0.6724 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5571, allocations: 0 / 0.6724 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.5574, allocations: 71.89 kB / 0.6724 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5574, allocations: 7.938 kB / 0.6724 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5575, allocations: 16 kB / 0.6724 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5575, allocations: 0 / 0.6724 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5575, allocations: 4 kB / 0.6724 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.5584, allocations: 0.6596 MB / 0.6731 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.5585, allocations: 156.3 kB / 0.6732 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.5586, allocations: 8 kB / 0.6732 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.559, allocations: 27.97 kB / 0.6733 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.5591, allocations: 23.97 kB / 0.6733 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.5592, allocations: 23.98 kB / 0.6733 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003884/0.5596, allocations: 359.1 kB / 0.6737 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 0.6737 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001046/0.5606, allocations: 347.7 kB / 0.674 GB, free: 4.844 MB / 0.4981 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.001278/0.5619, allocations: 0.5017 MB / 0.6745 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.5628, allocations: 479 kB / 0.6749 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5628, allocations: 0 / 0.6749 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.5631, allocations: 171.7 kB / 0.6751 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5647, allocations: 279.3 kB / 0.6754 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.5661, allocations: 0.9966 MB / 0.6763 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.5666, allocations: 0.8354 MB / 0.6772 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.5668, allocations: 47.42 kB / 0.6772 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5668, allocations: 0 / 0.6772 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.01711/0.5839, allocations: 11.43 MB / 0.6884 GB, free: 6.105 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches