Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001413/0.001413, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001499/0.001499, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2234/0.2234, allocations: 46.93 MB / 361.6 MB, free: 4.254 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.89 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3152, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002969/0.3182, allocations: 1.685 MB / 0.5635 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002889/0.3184, allocations: 111.5 kB / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.3185, allocations: 0 / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.3186, allocations: 19.8 kB / 0.5636 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.3187, allocations: 39.69 kB / 0.5637 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.3188, allocations: 23.98 kB / 0.5637 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.319, allocations: 131.4 kB / 0.5638 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3191, allocations: 25.3 kB / 0.5638 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.3192, allocations: 47.86 kB / 0.5639 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.3193, allocations: 51.77 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3193, allocations: 8 kB / 0.5639 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.3194, allocations: 11.94 kB / 0.564 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3194, allocations: 23.92 kB / 0.564 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3195, allocations: 63.73 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3196, allocations: 125.9 kB / 0.5642 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3196, allocations: 0 / 0.5642 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3196, allocations: 0 / 0.5642 GB, free: 2.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.3196, allocations: 0 / 0.5642 GB, free: 2.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005058/0.3202, allocations: 334.2 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3202, allocations: 8.031 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3202, allocations: 16.89 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3204, allocations: 138.3 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3204, allocations: 12.61 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.3205, allocations: 16.36 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3207, allocations: 121.6 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.3207, allocations: 12.08 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3208, allocations: 7.938 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3208, allocations: 4 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3209, allocations: 55.97 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.3216, allocations: 487.6 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3218, allocations: 89.06 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.3218, allocations: 29.83 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3218, allocations: 7.938 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3219, allocations: 34.5 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3219, allocations: 0 / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.3224, allocations: 147.2 kB / 0.5656 GB, free: 412 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3225, allocations: 81.11 kB / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3226, allocations: 125.8 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3226, allocations: 25.7 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.3227, allocations: 119.8 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.3227, allocations: 35.91 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.3228, allocations: 33.66 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.323, allocations: 322.6 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.323, allocations: 23.98 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3231, allocations: 92.52 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3232, allocations: 120.5 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3232, allocations: 0 / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002827/0.3235, allocations: 167.1 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3235, allocations: 4 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3236, allocations: 7.938 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.3237, allocations: 37.7 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3238, allocations: 27.92 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.326, allocations: 2.532 MB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.326, allocations: 20.03 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3261, allocations: 4 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.3262, allocations: 122.4 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3262, allocations: 11.89 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.3263, allocations: 8 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3263, allocations: 4 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3263, allocations: 0 / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3263, allocations: 4 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3266, allocations: 180.6 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3266, allocations: 0 / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.3266, allocations: 15.98 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.3268, allocations: 45.52 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3268, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.3287, allocations: 2.515 MB / 0.5721 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3287, allocations: 4.031 kB / 0.5721 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.329, allocations: 312.5 kB / 0.5724 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.3291, allocations: 7.953 kB / 0.5724 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3291, allocations: 0 / 0.5724 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.3292, allocations: 3.938 kB / 0.5724 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3292, allocations: 12.03 kB / 0.5724 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3292, allocations: 4 kB / 0.5724 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.3293, allocations: 95.27 kB / 0.5725 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3293, allocations: 0 / 0.5725 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.3296, allocations: 39.89 kB / 0.5726 GB, free: 8.605 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3298, allocations: 99.17 kB / 0.5727 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.3302, allocations: 309.8 kB / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3302, allocations: 0 / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3305, allocations: 253.3 kB / 0.5732 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.331, allocations: 27.91 kB / 0.5732 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.3318, allocations: 0.4962 MB / 0.5737 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3322, allocations: 0.7045 MB / 0.5744 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.3322, allocations: 15.42 kB / 0.5744 GB, free: 6.594 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3322, allocations: 7.938 kB / 0.5744 GB, free: 6.586 MB / 414.1 MB Notification: Performance of Templates: time 0.004629/0.3368, allocations: 2.448 MB / 0.5768 GB, free: 4.137 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.015067661879584]