Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001674/0.001674, 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.00199/0.00199, allocations: 214.8 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.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.762 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.2286/0.2286, allocations: 46.96 MB / 361.6 MB, free: 4.027 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+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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 59.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004666/0.3651, allocations: 2.648 MB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3666, allocations: 0.7401 MB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.3668, allocations: 11.94 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.367, allocations: 55.39 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.3672, allocations: 134.8 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.3676, allocations: 107.9 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.3681, allocations: 441.9 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.3684, allocations: 106 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.3687, allocations: 179.3 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3689, allocations: 183.2 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.369, allocations: 32 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3691, allocations: 36 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.3692, allocations: 75.7 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3694, allocations: 163.3 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.3699, allocations: 456.5 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3699, allocations: 0 / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3699, allocations: 0 / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.37, allocations: 0 / 0.567 GB, free: 14.78 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001042/0.371, allocations: 0.5872 MB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.371, allocations: 8.031 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.3713, allocations: 64.67 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3718, allocations: 217.9 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3718, allocations: 29.38 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.3719, allocations: 48.31 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.3726, allocations: 394.4 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3726, allocations: 15.88 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.3726, allocations: 16 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3727, allocations: 8 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.3731, allocations: 219.7 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.3754, allocations: 1.551 MB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3759, allocations: 250.4 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3761, allocations: 98 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3761, allocations: 8 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3761, allocations: 42.5 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.3761, allocations: 0 / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006999/0.3768, allocations: 258 kB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.377, allocations: 217.6 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3773, allocations: 268.1 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3773, allocations: 29.7 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3775, allocations: 252 kB / 0.5714 GB, free: 9.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3776, allocations: 123 kB / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3777, allocations: 98.3 kB / 0.5716 GB, free: 9.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3779, allocations: 346.8 kB / 0.572 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3781, allocations: 105.2 kB / 0.5721 GB, free: 9.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.3786, allocations: 432.8 kB / 0.5725 GB, free: 8.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.3794, allocations: 0.5625 MB / 0.573 GB, free: 7.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3794, allocations: 12 kB / 0.5731 GB, free: 7.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009025/0.3803, allocations: 0.5255 MB / 0.5736 GB, free: 7.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.3803, allocations: 12 kB / 0.5736 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3803, allocations: 12 kB / 0.5736 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.3804, allocations: 12 kB / 0.5736 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.3808, allocations: 155.7 kB / 0.5737 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/0.3809, allocations: 27.86 kB / 0.5738 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.3812, allocations: 55.62 kB / 0.5738 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.3812, allocations: 32 kB / 0.5739 GB, free: 7.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001948/0.3814, allocations: 185.6 kB / 0.574 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3816, allocations: 31.81 kB / 0.5741 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.3817, allocations: 33.73 kB / 0.5741 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3817, allocations: 7.984 kB / 0.5741 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3817, allocations: 4 kB / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3817, allocations: 0 / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3829, allocations: 0.5613 MB / 0.5747 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3829, allocations: 0 / 0.5747 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.3834, allocations: 87.94 kB / 0.5747 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3834, allocations: 8.062 kB / 0.5747 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3834, allocations: 15.94 kB / 0.5748 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3834, allocations: 3.938 kB / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3834, allocations: 4 kB / 0.5748 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.3843, allocations: 0.8298 MB / 0.5756 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.3843, allocations: 35.75 kB / 0.5756 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.3844, allocations: 8 kB / 0.5756 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3848, allocations: 12.11 kB / 0.5756 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3848, allocations: 27.91 kB / 0.5757 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3848, allocations: 19.98 kB / 0.5757 GB, free: 5.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.385, allocations: 171.1 kB / 0.5758 GB, free: 4.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.385, allocations: 0 / 0.5758 GB, free: 4.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.3858, allocations: 99.89 kB / 0.5759 GB, free: 4.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001494/0.3859, allocations: 107.1 kB / 0.576 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3865, allocations: 282.2 kB / 0.5763 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3865, allocations: 4.312 kB / 0.5763 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3866, allocations: 91.77 kB / 0.5764 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.3876, allocations: 69.3 kB / 0.5765 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.39, allocations: 1.587 MB / 0.578 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3902, allocations: 194.2 kB / 0.5782 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.3903, allocations: 35.42 kB / 0.5782 GB, free: 2.422 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3903, allocations: 0 / 0.5782 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Templates: time 0.007499/0.3978, allocations: 4.341 MB / 0.5825 GB, free: 14.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.088532852008939]