Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.657e-05, allocations: 8.75 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3007/0.3007, allocations: 160.3 MB / 0.5884 GB, free: 248 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3023, allocations: 0.8829 MB / 0.5892 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.3025, allocations: 11.88 kB / 0.5892 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.3031, allocations: 202.7 kB / 0.5894 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.3035, allocations: 302 kB / 0.5897 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.3072, allocations: 2.006 MB / 0.5917 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009795/0.3082, allocations: 0.986 MB / 0.5926 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.3085, allocations: 273.2 kB / 0.5929 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.3111, allocations: 1.729 MB / 0.5946 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.3115, allocations: 303.2 kB / 0.5949 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.3115, allocations: 44 kB / 0.5949 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.3147, allocations: 2.304 MB / 0.5972 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3149, allocations: 211.4 kB / 0.5974 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.3151, allocations: 199.6 kB / 0.5976 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.3185, allocations: 2.221 MB / 0.5997 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3185, allocations: 4 kB / 0.5997 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3185, allocations: 0 / 0.5997 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3185, allocations: 0 / 0.5997 GB, free: 4.578 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.001445/0.3199, allocations: 0.9974 MB / 0.6007 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.32, allocations: 8.031 kB / 0.6007 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.3201, allocations: 74.53 kB / 0.6008 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.3203, allocations: 55.72 kB / 0.6008 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3207, allocations: 324.3 kB / 0.6012 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3207, allocations: 29 kB / 0.6012 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3207, allocations: 43.94 kB / 0.6012 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.3214, allocations: 0.7635 MB / 0.602 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3214, allocations: 0 / 0.602 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.3214, allocations: 20 kB / 0.602 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3214, allocations: 8 kB / 0.602 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.322, allocations: 0.5004 MB / 0.6025 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.3236, allocations: 1.544 MB / 0.604 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.3241, allocations: 371 kB / 0.6043 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3243, allocations: 166.5 kB / 0.6045 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.3246, allocations: 123.9 kB / 0.6046 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3246, allocations: 42.5 kB / 0.6047 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/0.3246, allocations: 0 / 0.6047 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.0007184/0.3253, allocations: 0.5018 MB / 0.6052 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3254, allocations: 106.8 kB / 0.6053 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.3257, allocations: 405.5 kB / 0.6056 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3257, allocations: 33.7 kB / 0.6057 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3258, allocations: 220.5 kB / 0.6059 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.3259, allocations: 113.5 kB / 0.606 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.326, allocations: 78.02 kB / 0.6061 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.3261, allocations: 354.7 kB / 0.6064 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.3263, allocations: 207.2 kB / 0.6066 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3265, allocations: 321.6 kB / 0.6069 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.327, allocations: 480 kB / 0.6074 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.327, allocations: 3.938 kB / 0.6074 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000616/0.3276, allocations: 0.6046 MB / 0.608 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.3276, allocations: 59.41 kB / 0.608 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3276, allocations: 4 kB / 0.608 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3276, allocations: 4 kB / 0.608 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3278, allocations: 87.83 kB / 0.6081 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3279, allocations: 7.984 kB / 0.6081 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.328, allocations: 51.62 kB / 0.6082 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.3281, allocations: 19.98 kB / 0.6082 GB, free: 11.43 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.0001559/0.3282, allocations: 190.9 kB / 0.6084 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.3283, allocations: 47.66 kB / 0.6084 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.3289, allocations: 489.6 kB / 0.6089 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3289, allocations: 4 kB / 0.6089 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3289, allocations: 3.125 kB / 0.6089 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3289, allocations: 4.234 kB / 0.6089 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3304, allocations: 1.249 MB / 0.6101 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3304, allocations: 0 / 0.6101 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3306, allocations: 68.08 kB / 0.6102 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3306, allocations: 8 kB / 0.6102 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3306, allocations: 12.88 kB / 0.6102 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3306, allocations: 7.938 kB / 0.6102 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3306, allocations: 0 / 0.6102 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.3311, allocations: 0.6362 MB / 0.6108 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.3311, allocations: 47.66 kB / 0.6109 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3312, allocations: 23.86 kB / 0.6109 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3314, allocations: 19.98 kB / 0.6109 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.3314, allocations: 27.95 kB / 0.6109 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3315, allocations: 23.98 kB / 0.611 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002525/0.3317, allocations: 363.1 kB / 0.6113 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3317, allocations: 2.062 kB / 0.6113 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007935/0.3325, allocations: 355 kB / 0.6116 GB, free: 7.766 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.00149/0.334, allocations: 1.602 MB / 0.6132 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.3346, allocations: 0.4939 MB / 0.6137 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3346, allocations: 4 kB / 0.6137 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.3347, allocations: 164.8 kB / 0.6139 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.3356, allocations: 287.1 kB / 0.6141 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3398, allocations: 4.803 MB / 0.6188 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.34, allocations: 236.1 kB / 0.619 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.3403, allocations: 113.6 kB / 0.6192 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3405, allocations: 148.4 kB / 0.6193 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/0.3405, allocations: 3.938 kB / 0.6193 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1871/0.5275, allocations: 21.62 MB / 0.6404 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.583, allocations: 7.234 kB / 0.6404 GB, free: 164 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.6055211070925]