Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002144, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007233/0.0007233, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001832, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9208/0.9208, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1812/1.102, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.79 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02132/0.1579, allocations: 12.55 MB / 284.6 MB, free: 9.695 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.994e-05, allocations: 2.312 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005256/0.005276, allocations: 5.554 MB / 291.4 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.009037, allocations: 2.332 MB / 293.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.009851, allocations: 51.56 kB / 293.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.01025, allocations: 233.9 kB / 294 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.01072, allocations: 194.1 kB / 294.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.01163, allocations: 466.7 kB / 294.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.01267, allocations: 1.118 MB / 295.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.01318, allocations: 413.9 kB / 296.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.01391, allocations: 0.5886 MB / 296.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.01428, allocations: 287.1 kB / 297 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.01438, allocations: 96 kB / 297.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.01463, allocations: 159.8 kB / 297.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01476, allocations: 179.4 kB / 297.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.01497, allocations: 263.4 kB / 297.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.01566, allocations: 0.6925 MB / 298.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.01568, allocations: 8 kB / 298.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01568, allocations: 0 / 298.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.01569, allocations: 0 / 298.4 MB, free: 11.76 MB / 298.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.00118/0.01687, allocations: 1.247 MB / 299.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.0169, allocations: 12.03 kB / 299.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.01704, allocations: 136.8 kB / 299.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.01759, allocations: 471.1 kB / 300.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.01763, allocations: 70.12 kB / 300.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.01771, allocations: 91.95 kB / 300.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.01843, allocations: 0.7501 MB / 301.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.01845, allocations: 11.92 kB / 301.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.01849, allocations: 36 kB / 301.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.0185, allocations: 24 kB / 301.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.01886, allocations: 252.4 kB / 301.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.02109, allocations: 2.867 MB / 304.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.02143, allocations: 143.2 kB / 304.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.02148, allocations: 52.78 kB / 304.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/0.02155, allocations: 23.92 kB / 304.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.02157, allocations: 34.56 kB / 304.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.02157, allocations: 0 / 304.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001183/0.02275, allocations: 0.8306 MB / 305.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.02278, allocations: 63.39 kB / 305.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.02299, allocations: 387 kB / 305.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.023, allocations: 29.7 kB / 305.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.02316, allocations: 432.4 kB / 306.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.02323, allocations: 138.8 kB / 306.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.0233, allocations: 98.25 kB / 306.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.0234, allocations: 366.7 kB / 306.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.02345, allocations: 45.28 kB / 307 MB, free: 2.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.02359, allocations: 247.1 kB / 307.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.02384, allocations: 367.4 kB / 307.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.02384, allocations: 4 kB / 307.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003033/0.02415, allocations: 333.8 kB / 307.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.02416, allocations: 8 kB / 307.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02417, allocations: 8 kB / 307.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.0243, allocations: 36.78 kB / 307.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.02456, allocations: 150.2 kB / 308.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002339/0.02479, allocations: 0.5444 MB / 308.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.02491, allocations: 16.38 kB / 308.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.02494, allocations: 27.98 kB / 308.7 MB, free: 0.8789 MB / 298.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.0001231/0.02506, allocations: 148.5 kB / 308.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.02511, allocations: 39.95 kB / 308.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.02535, allocations: 208.4 kB / 309.1 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02535, allocations: 4 kB / 309.1 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.02535, allocations: 48 / 309.1 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02536, allocations: 3.984 kB / 309.1 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.026, allocations: 0.5902 MB / 309.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02601, allocations: 0 / 309.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.02623, allocations: 102.6 kB / 309.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.02627, allocations: 39.67 kB / 309.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.898e-05/0.02635, allocations: 28.83 kB / 309.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.02637, allocations: 15.98 kB / 309.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001966/0.02657, allocations: 0.5329 MB / 310.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02657, allocations: 3.938 kB / 310.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.02686, allocations: 389.9 kB / 310.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.02689, allocations: 8 kB / 310.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.02696, allocations: 8 kB / 310.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.027, allocations: 27.95 kB / 310.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.02702, allocations: 12 kB / 310.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.02712, allocations: 152.7 kB / 311 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02712, allocations: 0 / 311 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.02742, allocations: 132 kB / 311.1 MB, free: 14.33 MB / 314.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.0001429/0.02757, allocations: 96.23 kB / 311.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.02786, allocations: 244 kB / 311.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/0.02788, allocations: 8 kB / 311.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.028, allocations: 116.6 kB / 311.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.02856, allocations: 0.6882 MB / 312.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.03421, allocations: 1.509 MB / 313.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.03433, allocations: 181.7 kB / 313.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.03451, allocations: 60.58 kB / 314 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.03465, allocations: 127.3 kB / 314.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03466, allocations: 0 / 314.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Templates: time 0.009208/0.04386, allocations: 4.311 MB / 318.4 MB, free: 6.902 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6945726620033383]