Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001387/0.001387, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.001741/0.001741, allocations: 215 kB / 23.79 MB, free: 4.703 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.439/1.439, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2256/0.2256, allocations: 44.24 MB / 331.1 MB, free: 9.531 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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="cs",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.002184/0.002184, allocations: 67.84 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.109, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001558/0.1106, allocations: 0.4912 MB / 0.5174 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1128, allocations: 1.372 MB / 0.5187 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1128, allocations: 0 / 0.5187 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1128, allocations: 0 / 0.5187 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.113, allocations: 7.922 kB / 0.5187 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1141, allocations: 272.3 kB / 0.519 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.1141, allocations: 0 / 0.519 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.666e-05/0.1141, allocations: 4 kB / 0.519 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.1142, allocations: 0 / 0.519 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.1142, allocations: 19.91 kB / 0.519 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1143, allocations: 4 kB / 0.519 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004623/0.1189, allocations: 0.7482 MB / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.1189, allocations: 0 / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1189, allocations: 0 / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1192, allocations: 187.5 kB / 0.5199 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1192, allocations: 0 / 0.5199 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1192, allocations: 0 / 0.5199 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1193, allocations: 0 / 0.5199 GB, free: 4.328 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.000437/0.1197, allocations: 315.7 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1197, allocations: 8.031 kB / 0.5202 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.695e-05/0.1197, allocations: 192 / 0.5202 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.1198, allocations: 30.75 kB / 0.5203 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1198, allocations: 4.938 kB / 0.5203 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1199, allocations: 114.5 kB / 0.5204 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1199, allocations: 384 / 0.5204 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1199, allocations: 8.125 kB / 0.5204 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.12, allocations: 25.7 kB / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.12, allocations: 0 / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.12, allocations: 0 / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.12, allocations: 0 / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1201, allocations: 4 kB / 0.5204 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1202, allocations: 124.7 kB / 0.5205 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/0.1203, allocations: 26.55 kB / 0.5205 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.1203, allocations: 8.797 kB / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.1203, allocations: 0 / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.1204, allocations: 60.33 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1204, allocations: 0 / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001868/0.1205, allocations: 67.39 kB / 0.5207 GB, free: 3.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.1206, allocations: 81.23 kB / 0.5208 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.1207, allocations: 93.86 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1207, allocations: 29.64 kB / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1208, allocations: 84.14 kB / 0.521 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1208, allocations: 7.891 kB / 0.521 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1208, allocations: 17.7 kB / 0.521 GB, free: 3.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1209, allocations: 314.8 kB / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.121, allocations: 4 kB / 0.5213 GB, free: 2.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-06/0.121, allocations: 4.125 kB / 0.5213 GB, free: 2.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.121, allocations: 64.27 kB / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.121, allocations: 0 / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.513e-05/0.1211, allocations: 67.33 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.1211, allocations: 29.7 kB / 0.5214 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1211, allocations: 0 / 0.5214 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1212, allocations: 7.938 kB / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1212, allocations: 0 / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1212, allocations: 3.938 kB / 0.5215 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.1212, allocations: 4.094 kB / 0.5215 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1212, allocations: 0 / 0.5215 GB, free: 2.508 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 0.0001008/0.1213, allocations: 139.5 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.1213, allocations: 3.938 kB / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.1213, allocations: 3.156 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1213, allocations: 0 / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1213, allocations: 0 / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1213, allocations: 8 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.865e-05/0.1214, allocations: 124.7 kB / 0.5217 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1214, allocations: 4 kB / 0.5217 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.1214, allocations: 3.984 kB / 0.5217 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1214, allocations: 0 / 0.5217 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1214, allocations: 4 kB / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1214, allocations: 0 / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1214, allocations: 0 / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1216, allocations: 94.77 kB / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-06/0.1216, allocations: 4.031 kB / 0.5218 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1216, allocations: 4 kB / 0.5218 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.1216, allocations: 0 / 0.5218 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.1216, allocations: 3.938 kB / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1216, allocations: 0 / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.1217, allocations: 83.28 kB / 0.5219 GB, free: 1.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1217, allocations: 0 / 0.5219 GB, free: 1.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.122, allocations: 59.86 kB / 0.522 GB, free: 1.895 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.001106/0.1231, allocations: 0.8549 MB / 0.5228 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.1232, allocations: 63.39 kB / 0.5229 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1232, allocations: 3.938 kB / 0.5229 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.1232, allocations: 55.41 kB / 0.5229 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1233, allocations: 8 kB / 0.5229 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1237, allocations: 146.3 kB / 0.5231 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1241, allocations: 0.6768 MB / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.438e-06/0.1241, allocations: 3.938 kB / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1241, allocations: 11.56 kB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1241, allocations: 0 / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.148, allocations: 2.692 MB / 0.5264 GB, free: 13.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.76, allocations: 5 kB / 0.5264 GB, free: 13.22 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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: 14.868483631988056]