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.002044/0.002044, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002258/0.002258, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2354/0.2354, allocations: 46.96 MB / 360.9 MB, free: 4.129 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003051/0.3225, allocations: 1.619 MB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.3228, allocations: 103.6 kB / 0.5623 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.3229, allocations: 0 / 0.5623 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.319e-05/0.3229, allocations: 23.86 kB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.323, allocations: 35.64 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.3232, allocations: 23.97 kB / 0.5623 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3233, allocations: 131.4 kB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3235, allocations: 25.3 kB / 0.5625 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.3235, allocations: 51.84 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3236, allocations: 43.8 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3237, allocations: 8 kB / 0.5626 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.3237, allocations: 12 kB / 0.5626 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.3237, allocations: 27.91 kB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.3238, allocations: 51.8 kB / 0.5627 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.324, allocations: 125.3 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.324, allocations: 0 / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.324, allocations: 0 / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.324, allocations: 0 / 0.5628 GB, free: 1.945 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.0004989/0.3245, allocations: 334 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3245, allocations: 12.03 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.3246, allocations: 46.73 kB / 0.5632 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3246, allocations: 8.891 kB / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3248, allocations: 138.4 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3248, allocations: 12.61 kB / 0.5633 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.3248, allocations: 20.36 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3251, allocations: 121.6 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3251, allocations: 7.891 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3251, allocations: 11.94 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3251, allocations: 3.938 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3252, allocations: 59.91 kB / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.326, allocations: 471.7 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3262, allocations: 89.16 kB / 0.5641 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.3262, allocations: 33.73 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3262, allocations: 0 / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3262, allocations: 34.56 kB / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.3262, allocations: 0 / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.3268, allocations: 147.2 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3268, allocations: 81.11 kB / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.327, allocations: 129.7 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.327, allocations: 29.7 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.3271, allocations: 119.8 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3271, allocations: 31.73 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.3272, allocations: 29.72 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3273, allocations: 322.8 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.3274, allocations: 27.98 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3275, allocations: 91.33 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3276, allocations: 120.5 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3276, allocations: 0 / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002944/0.3279, allocations: 163.1 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3279, allocations: 8.25 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3279, allocations: 11.92 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.3281, allocations: 33.7 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3282, allocations: 27.98 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.3304, allocations: 2.531 MB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.3304, allocations: 7.984 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3304, allocations: 12 kB / 0.5679 GB, free: 12.14 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.0001236/0.3306, allocations: 129.7 kB / 0.5681 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.3306, allocations: 11.89 kB / 0.5681 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3306, allocations: 8 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3306, allocations: 4.062 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3306, allocations: 8 kB / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3306, allocations: 0 / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3309, allocations: 172.7 kB / 0.5683 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3309, allocations: 0 / 0.5683 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.331, allocations: 15.98 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.3311, allocations: 33.64 kB / 0.5683 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3311, allocations: 7.938 kB / 0.5683 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.3332, allocations: 2.507 MB / 0.5708 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3332, allocations: 7.969 kB / 0.5708 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3335, allocations: 304.3 kB / 0.5711 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.3335, allocations: 4 kB / 0.5711 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3335, allocations: 4 kB / 0.5711 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.3336, allocations: 12.25 kB / 0.5711 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.3337, allocations: 12.02 kB / 0.5711 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3337, allocations: 3.938 kB / 0.5711 GB, free: 8.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.3337, allocations: 91.28 kB / 0.5712 GB, free: 8.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3337, allocations: 0 / 0.5712 GB, free: 8.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3341, allocations: 39.89 kB / 0.5712 GB, free: 8.469 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.0006498/0.3347, allocations: 0.8344 MB / 0.572 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.3352, allocations: 309.6 kB / 0.5723 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3352, allocations: 0 / 0.5723 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.3355, allocations: 253.8 kB / 0.5726 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.336, allocations: 31.64 kB / 0.5726 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3383, allocations: 1.981 MB / 0.5745 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.3384, allocations: 97.62 kB / 0.5746 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.22e-05/0.3384, allocations: 8.969 kB / 0.5746 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.3385, allocations: 27.44 kB / 0.5747 GB, free: 4.691 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3385, allocations: 0 / 0.5747 GB, free: 4.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.374, allocations: 3.664 MB / 0.5782 GB, free: 1.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 3.984 kB / 0.5782 GB, free: 1.168 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] 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: 14.735366881999653]