Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00228/0.00228, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.2 MB / 257.8 MB, free: 8.484 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 79.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004803/0.3593, allocations: 3.099 MB / 0.5642 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.3603, allocations: 410.5 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3605, allocations: 8 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3606, allocations: 75.3 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.361, allocations: 166.5 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3612, allocations: 95.88 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.3618, allocations: 0.5442 MB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.3621, allocations: 120.8 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3624, allocations: 207.3 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.3627, allocations: 211 kB / 0.566 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3627, allocations: 40 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.047e-05/0.3628, allocations: 40 kB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3629, allocations: 99.75 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.3632, allocations: 250.9 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.3638, allocations: 0.5278 MB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.3638, allocations: 4 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3638, allocations: 3.938 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3638, allocations: 0 / 0.5669 GB, free: 15.14 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.001184/0.365, allocations: 0.7246 MB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3651, allocations: 12.03 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.3652, allocations: 52.61 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.3656, allocations: 292.4 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3656, allocations: 37.38 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/0.3657, allocations: 60.31 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.3664, allocations: 458.7 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.3664, allocations: 16.08 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3665, allocations: 19.94 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.3665, allocations: 16 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.3669, allocations: 255.7 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.3694, allocations: 1.696 MB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.3699, allocations: 391.9 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3701, allocations: 151.7 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3701, allocations: 7.938 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3702, allocations: 50.55 kB / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.3702, allocations: 3.938 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007924/0.3709, allocations: 354.5 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.3711, allocations: 273 kB / 0.5716 GB, free: 9.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.3715, allocations: 254.9 kB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3715, allocations: 29.7 kB / 0.5719 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3717, allocations: 256.2 kB / 0.5721 GB, free: 9.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.3719, allocations: 186.4 kB / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.372, allocations: 110.6 kB / 0.5724 GB, free: 9.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3722, allocations: 354.8 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3724, allocations: 117.9 kB / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.373, allocations: 426.8 kB / 0.5733 GB, free: 8.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.3738, allocations: 0.5684 MB / 0.5738 GB, free: 7.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3738, allocations: 4 kB / 0.5738 GB, free: 7.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009163/0.3747, allocations: 0.5638 MB / 0.5744 GB, free: 6.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3747, allocations: 12 kB / 0.5744 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.3748, allocations: 8.078 kB / 0.5744 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.3748, allocations: 16 kB / 0.5744 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.3754, allocations: 184.2 kB / 0.5746 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-05/0.3754, allocations: 27.92 kB / 0.5746 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3757, allocations: 63.58 kB / 0.5747 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.3757, allocations: 28 kB / 0.5747 GB, free: 6.441 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.0002319/0.376, allocations: 193.5 kB / 0.5749 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.3762, allocations: 39.77 kB / 0.5749 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.3762, allocations: 45.64 kB / 0.575 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.3763, allocations: 7.938 kB / 0.575 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.3763, allocations: 4 kB / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.3763, allocations: 4 kB / 0.575 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3773, allocations: 417.2 kB / 0.5754 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.3773, allocations: 4 kB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.3779, allocations: 123.9 kB / 0.5755 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3779, allocations: 4 kB / 0.5755 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3779, allocations: 15.98 kB / 0.5755 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.3779, allocations: 12 kB / 0.5755 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.3779, allocations: 8 kB / 0.5755 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.3789, allocations: 1.086 MB / 0.5766 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.379, allocations: 104.9 kB / 0.5767 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.3791, allocations: 16 kB / 0.5767 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3795, allocations: 15.94 kB / 0.5767 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.3795, allocations: 27.95 kB / 0.5768 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3796, allocations: 16 kB / 0.5768 GB, free: 4.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3797, allocations: 170 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.3806, allocations: 139.7 kB / 0.5771 GB, free: 3.91 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.0002447/0.3808, allocations: 119.2 kB / 0.5772 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005821/0.3814, allocations: 333.4 kB / 0.5775 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3814, allocations: 0 / 0.5775 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3816, allocations: 127.7 kB / 0.5776 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3828, allocations: 96.61 kB / 0.5777 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.3861, allocations: 1.994 MB / 0.5797 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.3868, allocations: 0.8275 MB / 0.5805 GB, free: 352 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.387, allocations: 52.14 kB / 0.5805 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.3871, allocations: 31.44 kB / 0.5806 GB, free: 264 kB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3871, allocations: 0 / 0.5806 GB, free: 264 kB / 414.1 MB Notification: Performance of Templates: time 0.009972/0.3971, allocations: 4.37 MB / 0.5848 GB, free: 11.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.393821995705366]