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.0008044/0.0008044, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009034/0.0009034, 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.8508/0.8508, allocations: 177 MB / 204.1 MB, free: 5.77 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.2255/0.2255, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.412e-06/1.412e-06, allocations: 3.938 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.325e-05, allocations: 2.281 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2675/0.2675, allocations: 160.3 MB / 0.5883 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2687, allocations: 0.8847 MB / 0.5892 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2688, allocations: 11.88 kB / 0.5892 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.2693, allocations: 210.6 kB / 0.5894 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.2699, allocations: 298.1 kB / 0.5897 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.2731, allocations: 1.996 MB / 0.5917 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.2738, allocations: 0.986 MB / 0.5926 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.2741, allocations: 275.9 kB / 0.5929 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.2761, allocations: 1.733 MB / 0.5946 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.2763, allocations: 299.2 kB / 0.5949 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.2764, allocations: 44 kB / 0.5949 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.2787, allocations: 2.304 MB / 0.5972 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.2788, allocations: 207.5 kB / 0.5974 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.279, allocations: 203.6 kB / 0.5975 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.2807, allocations: 2.217 MB / 0.5997 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2807, allocations: 4 kB / 0.5997 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2807, allocations: 4 kB / 0.5997 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2807, allocations: 0 / 0.5997 GB, free: 4.469 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.001145/0.2819, allocations: 0.9973 MB / 0.6007 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2819, allocations: 8.031 kB / 0.6007 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.282, allocations: 74.52 kB / 0.6008 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2821, allocations: 56.56 kB / 0.6008 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2825, allocations: 323.9 kB / 0.6011 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2825, allocations: 25 kB / 0.6012 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2826, allocations: 36 kB / 0.6012 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.2832, allocations: 0.7747 MB / 0.6019 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2832, allocations: 0 / 0.6019 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2832, allocations: 20 kB / 0.602 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2832, allocations: 8 kB / 0.602 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.2838, allocations: 0.4994 MB / 0.6025 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2855, allocations: 1.542 MB / 0.604 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.286, allocations: 366.5 kB / 0.6043 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2862, allocations: 174.5 kB / 0.6045 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.2864, allocations: 135.7 kB / 0.6046 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2865, allocations: 42.55 kB / 0.6047 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.2865, allocations: 0 / 0.6047 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.0006701/0.2871, allocations: 0.4944 MB / 0.6051 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2872, allocations: 106.8 kB / 0.6052 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2875, allocations: 403.3 kB / 0.6056 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2875, allocations: 37.64 kB / 0.6057 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2876, allocations: 224.5 kB / 0.6059 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.2877, allocations: 107.1 kB / 0.606 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.2877, allocations: 78.02 kB / 0.6061 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.2878, allocations: 354.8 kB / 0.6064 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2881, allocations: 200 kB / 0.6066 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.2883, allocations: 317.7 kB / 0.6069 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.2887, allocations: 487.3 kB / 0.6073 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2887, allocations: 0 / 0.6073 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000591/0.2893, allocations: 0.6047 MB / 0.6079 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.2894, allocations: 63.39 kB / 0.608 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2894, allocations: 0 / 0.608 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2894, allocations: 8 kB / 0.608 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2896, allocations: 87.83 kB / 0.6081 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2896, allocations: 4 kB / 0.6081 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2897, allocations: 51.61 kB / 0.6081 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.2898, allocations: 23.98 kB / 0.6082 GB, free: 11.32 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.0001363/0.2899, allocations: 185.8 kB / 0.6083 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.29, allocations: 55.58 kB / 0.6084 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.2906, allocations: 492.7 kB / 0.6089 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.2906, allocations: 4 kB / 0.6089 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2906, allocations: 0 / 0.6089 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2906, allocations: 7.984 kB / 0.6089 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2919, allocations: 1.254 MB / 0.6101 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2919, allocations: 0 / 0.6101 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.292, allocations: 59.91 kB / 0.6102 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.292, allocations: 12.17 kB / 0.6102 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.292, allocations: 8 kB / 0.6102 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.292, allocations: 4 kB / 0.6102 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.292, allocations: 5.75 kB / 0.6102 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.2927, allocations: 0.6329 MB / 0.6108 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.2928, allocations: 51.64 kB / 0.6109 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2928, allocations: 15.94 kB / 0.6109 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.293, allocations: 27.91 kB / 0.6109 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2931, allocations: 31.89 kB / 0.6109 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2931, allocations: 19.98 kB / 0.6109 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002416/0.2933, allocations: 359.1 kB / 0.6113 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 4 kB / 0.6113 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005818/0.2939, allocations: 351 kB / 0.6116 GB, free: 7.66 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.001277/0.2952, allocations: 1.602 MB / 0.6132 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.2957, allocations: 0.4978 MB / 0.6137 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2957, allocations: 0 / 0.6137 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.2958, allocations: 160.9 kB / 0.6138 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.2966, allocations: 283.7 kB / 0.6141 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.3005, allocations: 4.812 MB / 0.6188 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.3007, allocations: 236.1 kB / 0.619 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.3009, allocations: 111.8 kB / 0.6191 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3011, allocations: 152.4 kB / 0.6193 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.3011, allocations: 3.938 kB / 0.6193 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/0.4705, allocations: 21.62 MB / 0.6404 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.845, allocations: 8.578 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.737326287664473]