Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001358/0.001358, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 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.001508/0.001508, allocations: 212.8 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.225/0.225, allocations: 44.26 MB / 330.3 MB, free: 9.504 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.83 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 61.03 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001802/0.1187, allocations: 0.4942 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.1194, allocations: 261 kB / 0.5169 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.1194, allocations: 0 / 0.5169 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1194, allocations: 4 kB / 0.5169 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.1194, allocations: 0 / 0.5169 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1197, allocations: 59.8 kB / 0.5169 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1198, allocations: 4 kB / 0.5169 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.1198, allocations: 0 / 0.5169 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.1199, allocations: 0 / 0.5169 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.323e-05/0.1199, allocations: 3.984 kB / 0.5169 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1199, allocations: 0 / 0.5169 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.12, allocations: 67.95 kB / 0.517 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-06/0.12, allocations: 7.938 kB / 0.517 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.1201, allocations: 0 / 0.517 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1202, allocations: 63.8 kB / 0.5171 GB, free: 6.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1202, allocations: 4 kB / 0.5171 GB, free: 6.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1202, allocations: 0 / 0.5171 GB, free: 6.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1202, allocations: 0 / 0.5171 GB, free: 6.398 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003189/0.1205, allocations: 280 kB / 0.5173 GB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1206, allocations: 8.031 kB / 0.5173 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1206, allocations: 34.69 kB / 0.5174 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.1206, allocations: 4.891 kB / 0.5174 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1207, allocations: 118.5 kB / 0.5175 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1207, allocations: 4.375 kB / 0.5175 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.1207, allocations: 384 / 0.5175 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.1208, allocations: 30.27 kB / 0.5175 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1208, allocations: 3.938 kB / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.1208, allocations: 0 / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1208, allocations: 0 / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.1208, allocations: 0 / 0.5175 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.121, allocations: 120.8 kB / 0.5176 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.121, allocations: 30.5 kB / 0.5177 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.121, allocations: 8.953 kB / 0.5177 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.121, allocations: 3.938 kB / 0.5177 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1211, allocations: 56.27 kB / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1211, allocations: 0 / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.1213, allocations: 67.33 kB / 0.5178 GB, free: 5.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1213, allocations: 81.05 kB / 0.5179 GB, free: 5.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.1214, allocations: 97.98 kB / 0.518 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/0.1215, allocations: 25.7 kB / 0.518 GB, free: 5.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.1215, allocations: 80.14 kB / 0.5181 GB, free: 5.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1215, allocations: 4 kB / 0.5181 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1215, allocations: 9.719 kB / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1217, allocations: 310.8 kB / 0.5184 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.1217, allocations: 4 kB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.1217, allocations: 0 / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1219, allocations: 72.31 kB / 0.5184 GB, free: 4.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1219, allocations: 0 / 0.5184 GB, free: 4.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.152e-05/0.122, allocations: 55.41 kB / 0.5185 GB, free: 4.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.122, allocations: 33.7 kB / 0.5185 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.122, allocations: 7.875 kB / 0.5185 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.122, allocations: 0 / 0.5185 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.122, allocations: 0 / 0.5185 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.122, allocations: 0 / 0.5185 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.122, allocations: 7.875 kB / 0.5185 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.122, allocations: 4 kB / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.297e-05/0.1221, allocations: 139.6 kB / 0.5187 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.1221, allocations: 0 / 0.5187 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-06/0.1221, allocations: 10.94 kB / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1222, allocations: 0 / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1222, allocations: 0 / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1222, allocations: 0 / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.879e-05/0.1223, allocations: 120.8 kB / 0.5188 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1223, allocations: 0 / 0.5188 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1223, allocations: 4 kB / 0.5188 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.1223, allocations: 4 kB / 0.5188 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1223, allocations: 7.938 kB / 0.5188 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1223, allocations: 0 / 0.5188 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1223, allocations: 0 / 0.5188 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1224, allocations: 98.7 kB / 0.5189 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.1224, allocations: 0 / 0.5189 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1224, allocations: 3.938 kB / 0.5189 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.1224, allocations: 4 kB / 0.5189 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-06/0.1224, allocations: 4.031 kB / 0.5189 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1224, allocations: 0 / 0.5189 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.1224, allocations: 75.28 kB / 0.519 GB, free: 4.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1224, allocations: 0 / 0.519 GB, free: 4.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1227, allocations: 27.92 kB / 0.519 GB, free: 4.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009363/0.1236, allocations: 0.7837 MB / 0.5198 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.1237, allocations: 63.34 kB / 0.5199 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1237, allocations: 0 / 0.5199 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.1237, allocations: 55.41 kB / 0.5199 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1239, allocations: 4.125 kB / 0.5199 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.1242, allocations: 122.5 kB / 0.52 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1245, allocations: 0.669 MB / 0.5207 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.1245, allocations: 3.938 kB / 0.5207 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1246, allocations: 11.38 kB / 0.5207 GB, free: 2.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1246, allocations: 0 / 0.5207 GB, free: 2.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1521, allocations: 1.743 MB / 0.5224 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.23, allocations: 12 kB / 0.5224 GB, free: 496 kB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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: 13.953385893953964]