Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.0008951/0.0008951, allocations: 76.53 kB / 19.92 MB, free: 4.637 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.001035/0.001035, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8938/0.8938, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1304/0.1304, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 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.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.414e-05, allocations: 6.078 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004601/0.004625, allocations: 5.132 MB / 412 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.00762, allocations: 2.236 MB / 414.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.008181, allocations: 55.56 kB / 414.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.008562, allocations: 229.9 kB / 414.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.008867, allocations: 198.1 kB / 414.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.009699, allocations: 466.8 kB / 415.1 MB, free: 9.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.01062, allocations: 1.129 MB / 416.2 MB, free: 8.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.01115, allocations: 393.9 kB / 416.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.01169, allocations: 0.5575 MB / 417.2 MB, free: 7.824 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.01196, allocations: 283 kB / 417.5 MB, free: 7.547 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.01204, allocations: 96 kB / 417.6 MB, free: 7.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.01223, allocations: 155.8 kB / 417.7 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.01238, allocations: 215.2 kB / 417.9 MB, free: 7.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.01257, allocations: 311.2 kB / 418.2 MB, free: 6.785 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008935/0.01346, allocations: 1.281 MB / 419.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01347, allocations: 0 / 419.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01347, allocations: 0 / 419.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.01348, allocations: 0 / 419.5 MB, free: 5.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001054/0.01453, allocations: 1.066 MB / 420.6 MB, free: 4.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.01458, allocations: 19.97 kB / 420.6 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.01472, allocations: 139.8 kB / 420.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.01482, allocations: 108.3 kB / 420.8 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.01546, allocations: 0.5146 MB / 421.3 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.0155, allocations: 69.94 kB / 421.4 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.01558, allocations: 99.89 kB / 421.5 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.01657, allocations: 0.8853 MB / 422.4 MB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.01659, allocations: 7.938 kB / 422.4 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01664, allocations: 40 kB / 422.4 MB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01665, allocations: 24 kB / 422.5 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.01728, allocations: 0.5152 MB / 423 MB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.01957, allocations: 3.311 MB / 426.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.01995, allocations: 211.2 kB / 426.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.02006, allocations: 96.81 kB / 426.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.364e-05/0.02016, allocations: 19.98 kB / 426.6 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.02017, allocations: 34.56 kB / 426.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.02018, allocations: 0 / 426.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001726/0.0219, allocations: 1.159 MB / 427.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.02193, allocations: 59.41 kB / 427.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.02222, allocations: 413.7 kB / 428.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.02224, allocations: 33.7 kB / 428.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.02243, allocations: 475.5 kB / 428.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.0225, allocations: 138.8 kB / 428.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.02258, allocations: 98.3 kB / 429 MB, free: 11.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.02268, allocations: 366.7 kB / 429.4 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.02281, allocations: 109.3 kB / 429.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.02303, allocations: 319 kB / 429.8 MB, free: 10.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.02341, allocations: 452.7 kB / 430.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02341, allocations: 4 kB / 430.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005221/0.02393, allocations: 0.5167 MB / 430.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.02395, allocations: 8 kB / 430.7 MB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.02397, allocations: 8 kB / 430.8 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.02413, allocations: 36.84 kB / 430.8 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.02435, allocations: 127.8 kB / 430.9 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002825/0.02464, allocations: 0.5606 MB / 431.5 MB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.02475, allocations: 24.06 kB / 431.5 MB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.02478, allocations: 24 kB / 431.5 MB, free: 8.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.02502, allocations: 229.6 kB / 431.7 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.02507, allocations: 51.67 kB / 431.8 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.02553, allocations: 330.9 kB / 432.1 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.02554, allocations: 4 kB / 432.1 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02554, allocations: 4 kB / 432.1 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.02555, allocations: 0 / 432.1 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.02651, allocations: 0.9933 MB / 433.1 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.02652, allocations: 4 kB / 433.1 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.02672, allocations: 75.89 kB / 433.2 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.704e-05/0.02681, allocations: 36.84 kB / 433.2 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.02683, allocations: 8 kB / 433.2 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/0.02709, allocations: 0.5563 MB / 433.8 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02709, allocations: 4.031 kB / 433.8 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.02788, allocations: 0.5604 MB / 434.4 MB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.02792, allocations: 43.66 kB / 434.4 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.02795, allocations: 16 kB / 434.4 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.02803, allocations: 11.98 kB / 434.4 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.02807, allocations: 27.95 kB / 434.5 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.02808, allocations: 8 kB / 434.5 MB, free: 5.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.02826, allocations: 279.1 kB / 434.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02826, allocations: 0 / 434.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.02861, allocations: 124 kB / 434.9 MB, free: 5.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007394/0.02935, allocations: 1.112 MB / 436 MB, free: 4.211 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.02977, allocations: 323.6 kB / 436.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02978, allocations: 0 / 436.3 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.02993, allocations: 141.6 kB / 436.4 MB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.03032, allocations: 78.55 kB / 436.5 MB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.03456, allocations: 4.657 MB / 441.2 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.0348, allocations: 363.8 kB / 441.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.03493, allocations: 60.48 kB / 441.6 MB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.03514, allocations: 296.4 kB / 441.9 MB, free: 14 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03514, allocations: 0 / 441.9 MB, free: 14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.06265, allocations: 10.13 MB / 452 MB, free: 3.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.572, allocations: 3.984 kB / 452 MB, free: 3.855 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.58143782056868]