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.001549/0.001549, allocations: 105 kB / 20.44 MB, free: 1.504 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.002/0.002, allocations: 217 kB / 23.76 MB, free: 4.727 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.276/1.276, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 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.1999/0.1999, allocations: 44.23 MB / 331 MB, free: 9.523 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: 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.002096/0.002096, allocations: 72.98 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1121, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007248/0.1193, allocations: 5.824 MB / 0.523 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1233, allocations: 2.361 MB / 0.5253 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1239, allocations: 51.56 kB / 0.5254 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.1244, allocations: 233.9 kB / 0.5256 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.1248, allocations: 190.2 kB / 0.5258 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009847/0.1257, allocations: 478.6 kB / 0.5263 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.1269, allocations: 1.107 MB / 0.5273 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.1275, allocations: 422 kB / 0.5277 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.128, allocations: 386.6 kB / 0.5281 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.1284, allocations: 390.1 kB / 0.5285 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1285, allocations: 92 kB / 0.5286 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.1288, allocations: 155.9 kB / 0.5287 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.129, allocations: 223.2 kB / 0.5289 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.1294, allocations: 469.6 kB / 0.5294 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1306, allocations: 1.276 MB / 0.5306 GB, free: 9.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1306, allocations: 0 / 0.5306 GB, free: 9.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1306, allocations: 0 / 0.5306 GB, free: 9.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1306, allocations: 0 / 0.5306 GB, free: 9.176 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.001488/0.1321, allocations: 1.085 MB / 0.5317 GB, free: 8.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1322, allocations: 8.031 kB / 0.5317 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1323, allocations: 108.3 kB / 0.5318 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.1332, allocations: 0.5224 MB / 0.5323 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.1332, allocations: 66 kB / 0.5324 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.1334, allocations: 95.95 kB / 0.5325 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1347, allocations: 0.8931 MB / 0.5333 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.1348, allocations: 8 kB / 0.5333 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.1348, allocations: 36 kB / 0.5334 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1348, allocations: 24 kB / 0.5334 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.1358, allocations: 0.519 MB / 0.5339 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1393, allocations: 3.509 MB / 0.5373 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.1398, allocations: 210.6 kB / 0.5375 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1399, allocations: 92.83 kB / 0.5376 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.14, allocations: 23.97 kB / 0.5376 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1401, allocations: 34.56 kB / 0.5377 GB, free: 1.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.1401, allocations: 0 / 0.5377 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002182/0.1423, allocations: 1.165 MB / 0.5388 GB, free: 452 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1423, allocations: 63.34 kB / 0.5389 GB, free: 376 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1944/0.3367, allocations: 394.4 kB / 0.5392 GB, free: 28.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.3367, allocations: 36.28 kB / 0.5393 GB, free: 28.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.337, allocations: 479.3 kB / 0.5397 GB, free: 28.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.3371, allocations: 141.5 kB / 0.5399 GB, free: 28.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3372, allocations: 99.44 kB / 0.54 GB, free: 28.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.3373, allocations: 359.7 kB / 0.5403 GB, free: 28.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3375, allocations: 116.9 kB / 0.5404 GB, free: 28.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3378, allocations: 309.3 kB / 0.5407 GB, free: 27.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.3382, allocations: 455.8 kB / 0.5412 GB, free: 27.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3382, allocations: 1 kB / 0.5412 GB, free: 27.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007353/0.3389, allocations: 0.5169 MB / 0.5417 GB, free: 27.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3389, allocations: 7.094 kB / 0.5417 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.339, allocations: 7.094 kB / 0.5417 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.3392, allocations: 41.44 kB / 0.5417 GB, free: 27.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.3395, allocations: 127.1 kB / 0.5418 GB, free: 27.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/0.3398, allocations: 0.5614 MB / 0.5424 GB, free: 26.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.34, allocations: 17.08 kB / 0.5424 GB, free: 26.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.34, allocations: 25.31 kB / 0.5424 GB, free: 26.95 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.0002518/0.3403, allocations: 233.1 kB / 0.5426 GB, free: 26.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3403, allocations: 54.61 kB / 0.5427 GB, free: 26.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3409, allocations: 325.5 kB / 0.543 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3409, allocations: 3.531 kB / 0.543 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3409, allocations: 2.719 kB / 0.543 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3409, allocations: 2.922 kB / 0.543 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3422, allocations: 1.013 MB / 0.544 GB, free: 26.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3422, allocations: 5.219 kB / 0.544 GB, free: 26.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.3425, allocations: 81.09 kB / 0.5441 GB, free: 26.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.3426, allocations: 38.05 kB / 0.5441 GB, free: 26.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3426, allocations: 8.406 kB / 0.5441 GB, free: 26.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001901/0.3428, allocations: 0.551 MB / 0.5447 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3428, allocations: 2.688 kB / 0.5447 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.3435, allocations: 0.5528 MB / 0.5452 GB, free: 25.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.3435, allocations: 46.08 kB / 0.5453 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3436, allocations: 8.828 kB / 0.5453 GB, free: 25.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3437, allocations: 11.09 kB / 0.5453 GB, free: 25.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.3438, allocations: 31.89 kB / 0.5453 GB, free: 25.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3438, allocations: 12.2 kB / 0.5453 GB, free: 25.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.344, allocations: 270.5 kB / 0.5456 GB, free: 25.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 0.5456 GB, free: 25.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005009/0.3445, allocations: 130.2 kB / 0.5457 GB, free: 25.17 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.0001199/0.3447, allocations: 116.9 kB / 0.5458 GB, free: 25.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.3452, allocations: 315.5 kB / 0.5461 GB, free: 24.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3452, allocations: 0.75 kB / 0.5461 GB, free: 24.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.3454, allocations: 138.4 kB / 0.5462 GB, free: 24.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.3459, allocations: 80.91 kB / 0.5463 GB, free: 24.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3481, allocations: 1.687 MB / 0.548 GB, free: 23.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.3486, allocations: 0.9598 MB / 0.5489 GB, free: 23.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.3486, allocations: 48.45 kB / 0.549 GB, free: 23.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3487, allocations: 0 / 0.549 GB, free: 23.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01486/0.3635, allocations: 11.29 MB / 0.56 GB, free: 20.46 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 7.533936676103622]