Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001896/0.001896, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002399/0.002399, allocations: 214.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004408/0.3845, allocations: 2.826 MB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.3854, allocations: 410.5 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.3856, allocations: 15.94 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3858, allocations: 67.31 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3861, allocations: 166.5 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3863, allocations: 99.86 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.3869, allocations: 0.5403 MB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.3871, allocations: 121.1 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.3874, allocations: 203.4 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.3877, allocations: 219 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.3877, allocations: 40 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.3878, allocations: 40 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.3879, allocations: 99.67 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.3881, allocations: 207.1 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.3887, allocations: 0.5276 MB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3887, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3887, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3887, allocations: 4 kB / 0.5672 GB, free: 14.64 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001094/0.3898, allocations: 0.6571 MB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3899, allocations: 11.97 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.39, allocations: 56.61 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.3903, allocations: 225.8 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.3904, allocations: 37.38 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.3904, allocations: 56.33 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.3912, allocations: 454.7 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.3912, allocations: 16.12 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.3913, allocations: 19.94 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3913, allocations: 12 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3917, allocations: 255 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.3939, allocations: 1.512 MB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3945, allocations: 395.4 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3947, allocations: 147.6 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3947, allocations: 8.547 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3947, allocations: 50.5 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.3947, allocations: 0 / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007358/0.3955, allocations: 354.8 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.3956, allocations: 280.9 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.3959, allocations: 253.9 kB / 0.5719 GB, free: 9.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3959, allocations: 29.7 kB / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3961, allocations: 248.2 kB / 0.5721 GB, free: 9.258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3962, allocations: 190.4 kB / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.3964, allocations: 114.6 kB / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3965, allocations: 346.8 kB / 0.5727 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3967, allocations: 126 kB / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.3972, allocations: 413.6 kB / 0.5733 GB, free: 7.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.3978, allocations: 0.5762 MB / 0.5738 GB, free: 7.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3979, allocations: 0 / 0.5738 GB, free: 7.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008379/0.3987, allocations: 0.5682 MB / 0.5744 GB, free: 6.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3987, allocations: 8 kB / 0.5744 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.3987, allocations: 12.09 kB / 0.5744 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.3988, allocations: 23.94 kB / 0.5744 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.3994, allocations: 175.7 kB / 0.5746 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.3994, allocations: 23.94 kB / 0.5746 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.3997, allocations: 67.52 kB / 0.5747 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3997, allocations: 32 kB / 0.5747 GB, free: 6.312 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0002092/0.3999, allocations: 185.6 kB / 0.5749 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.4001, allocations: 35.81 kB / 0.5749 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.479e-05/0.4002, allocations: 37.7 kB / 0.5749 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4002, allocations: 12 kB / 0.575 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4002, allocations: 3.938 kB / 0.575 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4002, allocations: 4 kB / 0.575 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/0.4011, allocations: 304.9 kB / 0.5753 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4011, allocations: 8.062 kB / 0.5753 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4017, allocations: 127.9 kB / 0.5754 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4017, allocations: 4 kB / 0.5754 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.4018, allocations: 12 kB / 0.5754 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4018, allocations: 4 kB / 0.5754 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4018, allocations: 4 kB / 0.5754 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.4027, allocations: 1.1 MB / 0.5765 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.4028, allocations: 31.73 kB / 0.5765 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.4028, allocations: 16 kB / 0.5765 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.4032, allocations: 11.98 kB / 0.5765 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.4033, allocations: 35.83 kB / 0.5766 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4033, allocations: 11.98 kB / 0.5766 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4034, allocations: 165.2 kB / 0.5767 GB, free: 4.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4034, allocations: 0 / 0.5767 GB, free: 4.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000875/0.4043, allocations: 139.7 kB / 0.5769 GB, free: 4.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0002434/0.4046, allocations: 118.9 kB / 0.577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.4051, allocations: 325.5 kB / 0.5773 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4052, allocations: 4.062 kB / 0.5773 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.4053, allocations: 119.8 kB / 0.5774 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.4066, allocations: 100.4 kB / 0.5775 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.4095, allocations: 2.018 MB / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4098, allocations: 228.5 kB / 0.5797 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.4098, allocations: 31.44 kB / 0.5797 GB, free: 1 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4098, allocations: 0 / 0.5797 GB, free: 1 MB / 414.1 MB Notification: Performance of Templates: time 0.008478/0.4183, allocations: 5.312 MB / 0.5849 GB, free: 11.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 8.87471334100701]