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.001664/0.001664, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001626/0.001626, allocations: 217.8 kB / 22.99 MB, free: 4.977 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.75/1.75, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2375/0.2375, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [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.00237/0.00237, allocations: 71.89 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1666, allocations: 61.04 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008424/0.175, allocations: 5.12 MB / 0.5216 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005187/0.1802, allocations: 2.237 MB / 0.5238 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1813, allocations: 51.56 kB / 0.5239 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.1819, allocations: 237.9 kB / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.1825, allocations: 186.3 kB / 0.5243 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1838, allocations: 458.9 kB / 0.5247 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.1852, allocations: 1.099 MB / 0.5258 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000751/0.186, allocations: 401.9 kB / 0.5262 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.1865, allocations: 374.7 kB / 0.5265 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.1869, allocations: 346 kB / 0.5269 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1871, allocations: 96 kB / 0.5269 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.1874, allocations: 152 kB / 0.5271 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.1876, allocations: 227.2 kB / 0.5273 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.188, allocations: 366.2 kB / 0.5277 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1896, allocations: 1.284 MB / 0.5289 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.1896, allocations: 3.938 kB / 0.5289 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1896, allocations: 0 / 0.5289 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.1896, allocations: 0 / 0.5289 GB, free: 10.02 MB / 414.1 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.001905/0.1915, allocations: 1.081 MB / 0.53 GB, free: 8.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.1916, allocations: 8.031 kB / 0.53 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1918, allocations: 112.3 kB / 0.5301 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.1931, allocations: 0.5186 MB / 0.5306 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.1931, allocations: 70 kB / 0.5307 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1933, allocations: 95.89 kB / 0.5307 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.1951, allocations: 0.8892 MB / 0.5316 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.1951, allocations: 4 kB / 0.5316 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.1952, allocations: 36 kB / 0.5317 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.1952, allocations: 28 kB / 0.5317 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1963, allocations: 0.5268 MB / 0.5322 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.2004, allocations: 3.209 MB / 0.5353 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.201, allocations: 211 kB / 0.5355 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2011, allocations: 96.83 kB / 0.5356 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.2013, allocations: 19.98 kB / 0.5356 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.2013, allocations: 38.56 kB / 0.5357 GB, free: 2.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.043e-06/0.2013, allocations: 0 / 0.5357 GB, free: 2.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002609/0.2039, allocations: 1.158 MB / 0.5368 GB, free: 1.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.204, allocations: 63.34 kB / 0.5369 GB, free: 1.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.2045, allocations: 409.7 kB / 0.5373 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2045, allocations: 37.7 kB / 0.5373 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.2049, allocations: 475.5 kB / 0.5377 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.205, allocations: 146.8 kB / 0.5379 GB, free: 468 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2052, allocations: 98.3 kB / 0.538 GB, free: 360 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.3246/0.5297, allocations: 358.8 kB / 0.5383 GB, free: 28.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/0.5302, allocations: 110.5 kB / 0.5384 GB, free: 28.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.5306, allocations: 309.1 kB / 0.5387 GB, free: 28.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.5312, allocations: 449 kB / 0.5392 GB, free: 27.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5312, allocations: 4.125 kB / 0.5392 GB, free: 27.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001037/0.5322, allocations: 0.5163 MB / 0.5397 GB, free: 27.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.5323, allocations: 6.75 kB / 0.5397 GB, free: 27.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.5323, allocations: 8.156 kB / 0.5397 GB, free: 27.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.5326, allocations: 38.94 kB / 0.5397 GB, free: 27.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.533, allocations: 128.8 kB / 0.5398 GB, free: 27.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003493/0.5333, allocations: 0.5597 MB / 0.5404 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.5336, allocations: 19.36 kB / 0.5404 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.5337, allocations: 29.03 kB / 0.5404 GB, free: 27.36 MB / 414.1 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.0004311/0.5341, allocations: 228.9 kB / 0.5406 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5342, allocations: 57.23 kB / 0.5407 GB, free: 27.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.535, allocations: 323.9 kB / 0.541 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.535, allocations: 7.594 kB / 0.541 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.535, allocations: 0 / 0.541 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.535, allocations: 1.969 kB / 0.541 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.5368, allocations: 0.8734 MB / 0.5419 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5368, allocations: 2.922 kB / 0.5419 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.5371, allocations: 79.88 kB / 0.5419 GB, free: 26.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.5374, allocations: 31.38 kB / 0.542 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.5374, allocations: 17.11 kB / 0.542 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002686/0.5377, allocations: 0.55 MB / 0.5425 GB, free: 26.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5377, allocations: 4.109 kB / 0.5425 GB, free: 26.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.5386, allocations: 0.5671 MB / 0.5431 GB, free: 26.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.5387, allocations: 40.16 kB / 0.5431 GB, free: 26.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5387, allocations: 10.09 kB / 0.5431 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5389, allocations: 10.17 kB / 0.5431 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.539, allocations: 29.19 kB / 0.5432 GB, free: 26.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.539, allocations: 14.19 kB / 0.5432 GB, free: 26.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003842/0.5394, allocations: 272 kB / 0.5434 GB, free: 25.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5394, allocations: 1.062 kB / 0.5434 GB, free: 25.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007161/0.5401, allocations: 122.8 kB / 0.5436 GB, free: 25.91 MB / 414.1 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.0002172/0.5403, allocations: 120.4 kB / 0.5437 GB, free: 25.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008438/0.5412, allocations: 317.2 kB / 0.544 GB, free: 25.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5412, allocations: 0 / 0.544 GB, free: 25.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.5415, allocations: 137.5 kB / 0.5441 GB, free: 25.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.5421, allocations: 75.34 kB / 0.5442 GB, free: 25.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.545, allocations: 1.646 MB / 0.5458 GB, free: 24.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.5455, allocations: 366.7 kB / 0.5461 GB, free: 24.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.5458, allocations: 59.2 kB / 0.5462 GB, free: 24.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.5459, allocations: 39.77 kB / 0.5462 GB, free: 24.5 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5459, allocations: 0 / 0.5462 GB, free: 24.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01353/0.5594, allocations: 4.898 MB / 0.551 GB, free: 23.86 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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: 6.124358784407377]