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.001321/0.001321, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.00152/0.00152, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.627/1.627, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2386/0.2386, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.002057/0.002057, allocations: 68.08 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3142, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004505/0.3187, allocations: 2.652 MB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.32, allocations: 0.7401 MB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3202, allocations: 11.94 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3204, allocations: 55.38 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.3206, allocations: 130.9 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.321, allocations: 111.8 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.3214, allocations: 433.9 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.3217, allocations: 106.1 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.322, allocations: 191.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3223, allocations: 175.2 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.3223, allocations: 32 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.3224, allocations: 36 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.3225, allocations: 79.75 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.3227, allocations: 167.2 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.3232, allocations: 436.6 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3232, allocations: 3.984 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3232, allocations: 3.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3233, allocations: 0 / 0.567 GB, free: 14.86 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.001065/0.3243, allocations: 0.595 MB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3244, allocations: 8.031 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3247, allocations: 56.69 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.3251, allocations: 233.7 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.3251, allocations: 29.38 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3252, allocations: 44.33 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.3259, allocations: 394.5 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3259, allocations: 7.953 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.3259, allocations: 16 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3259, allocations: 8 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.3264, allocations: 211.7 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.3287, allocations: 1.563 MB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.3292, allocations: 258.3 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3293, allocations: 90.08 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3293, allocations: 4 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.3294, allocations: 50.48 kB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.3294, allocations: 0 / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006868/0.3301, allocations: 257.2 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3302, allocations: 217.6 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3305, allocations: 264.1 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3305, allocations: 33.7 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3307, allocations: 244.2 kB / 0.5714 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3308, allocations: 131 kB / 0.5716 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3309, allocations: 98.3 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3311, allocations: 346.8 kB / 0.572 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3313, allocations: 97.27 kB / 0.5721 GB, free: 9.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.3318, allocations: 424.8 kB / 0.5725 GB, free: 8.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.3326, allocations: 0.5741 MB / 0.573 GB, free: 8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.3326, allocations: 4 kB / 0.573 GB, free: 7.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008984/0.3335, allocations: 0.5324 MB / 0.5736 GB, free: 7.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3335, allocations: 8.906 kB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3336, allocations: 15.94 kB / 0.5736 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.3336, allocations: 16 kB / 0.5736 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.334, allocations: 147.8 kB / 0.5737 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.3341, allocations: 23.92 kB / 0.5738 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3344, allocations: 63.61 kB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3344, allocations: 32 kB / 0.5739 GB, free: 7.156 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.0001862/0.3346, allocations: 177.5 kB / 0.574 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3348, allocations: 31.81 kB / 0.5741 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.3348, allocations: 37.73 kB / 0.5741 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3348, allocations: 0 / 0.5741 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3348, allocations: 4 kB / 0.5741 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.3349, allocations: 39.73 kB / 0.5741 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3349, allocations: 8 kB / 0.5741 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.3353, allocations: 8.438 kB / 0.5742 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.3353, allocations: 31.83 kB / 0.5742 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001087/0.3364, allocations: 0.8089 MB / 0.575 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009245/0.3374, allocations: 0.9472 MB / 0.5759 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001977/0.3376, allocations: 83.88 kB / 0.576 GB, free: 4.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3377, allocations: 175.2 kB / 0.5761 GB, free: 4.77 MB / 414.1 MB Notification: Performance of Backend: time 7.41e-07/0.3377, allocations: 0 / 0.5761 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.339, allocations: 308.1 kB / 0.5764 GB, free: 4.465 MB / 414.1 MB Notification: Performance of SimCode: time 0.002755/0.3417, allocations: 2.034 MB / 0.5784 GB, free: 2.375 MB / 414.1 MB Notification: Performance of Templates: time 0.009131/0.3508, allocations: 4.294 MB / 0.5826 GB, free: 14.16 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: 5.2783694509998895]