Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001352/0.001352, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001514/0.001514, allocations: 208.4 kB / 25.12 MB, free: 3.59 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.497/1.497, allocations: 230.4 MB / 258.7 MB, free: 8.074 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.2349/0.2349, allocations: 46.93 MB / 362 MB, free: 4.242 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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3") [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.00329/0.00329, allocations: 75.86 kB / 0.4978 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3212, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002947/0.3242, allocations: 1.677 MB / 0.5639 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.3245, allocations: 111.6 kB / 0.5641 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.3245, allocations: 0 / 0.5641 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.3246, allocations: 15.86 kB / 0.5641 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3247, allocations: 39.64 kB / 0.5641 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.3248, allocations: 23.97 kB / 0.5641 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.325, allocations: 131.4 kB / 0.5643 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3251, allocations: 33.28 kB / 0.5643 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.3252, allocations: 47.86 kB / 0.5643 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.3253, allocations: 47.78 kB / 0.5644 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3253, allocations: 8 kB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.3253, allocations: 8 kB / 0.5644 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.3253, allocations: 27.91 kB / 0.5644 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.3254, allocations: 51.75 kB / 0.5645 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3256, allocations: 126 kB / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3256, allocations: 0 / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3256, allocations: 0 / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3256, allocations: 4 kB / 0.5646 GB, free: 1.922 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.0004865/0.3261, allocations: 338.1 kB / 0.5649 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3261, allocations: 12.02 kB / 0.5649 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3262, allocations: 12.89 kB / 0.5649 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3263, allocations: 138.3 kB / 0.5651 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3263, allocations: 8.609 kB / 0.5651 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.3264, allocations: 12.38 kB / 0.5651 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3266, allocations: 129.6 kB / 0.5652 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3266, allocations: 8.141 kB / 0.5652 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3266, allocations: 7.938 kB / 0.5652 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3266, allocations: 7.984 kB / 0.5652 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3267, allocations: 63.84 kB / 0.5653 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.3274, allocations: 479.7 kB / 0.5658 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3276, allocations: 89.14 kB / 0.5658 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.3276, allocations: 25.72 kB / 0.5659 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3276, allocations: 7.938 kB / 0.5659 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3277, allocations: 34.64 kB / 0.5659 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3277, allocations: 4 kB / 0.5659 GB, free: 432 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004881/0.3281, allocations: 143.2 kB / 0.566 GB, free: 276 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3282, allocations: 85.11 kB / 0.5661 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.3283, allocations: 117.8 kB / 0.5662 GB, free: 44 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3283, allocations: 29.7 kB / 0.5663 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.3284, allocations: 119.8 kB / 0.5664 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3284, allocations: 39.69 kB / 0.5664 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3285, allocations: 29.7 kB / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3286, allocations: 326.8 kB / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.3287, allocations: 20 kB / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.3287, allocations: 88.52 kB / 0.5669 GB, free: 15.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3289, allocations: 120.5 kB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3289, allocations: 4 kB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002809/0.3292, allocations: 167.1 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3292, allocations: 10.59 kB / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3292, allocations: 8 kB / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3294, allocations: 37.64 kB / 0.5672 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.3295, allocations: 19.98 kB / 0.5672 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3314, allocations: 2.531 MB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.3315, allocations: 11.92 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3315, allocations: 12 kB / 0.5697 GB, free: 12.16 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.0001057/0.3316, allocations: 133.2 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.3317, allocations: 4 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.3317, allocations: 15.92 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3317, allocations: 0 / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3317, allocations: 4 kB / 0.5699 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3317, allocations: 0 / 0.5699 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.332, allocations: 184.5 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.332, allocations: 0 / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.3321, allocations: 8 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3322, allocations: 45.7 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3322, allocations: 7.938 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.3341, allocations: 2.516 MB / 0.5726 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3341, allocations: 3.984 kB / 0.5726 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3344, allocations: 304.4 kB / 0.5728 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.3344, allocations: 8.047 kB / 0.5729 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3344, allocations: 8 kB / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.3345, allocations: 0 / 0.5729 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.3346, allocations: 8.031 kB / 0.5729 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3346, allocations: 0 / 0.5729 GB, free: 8.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.3347, allocations: 103.2 kB / 0.573 GB, free: 8.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3347, allocations: 0 / 0.573 GB, free: 8.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.335, allocations: 39.89 kB / 0.573 GB, free: 8.473 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.00011/0.3351, allocations: 95.25 kB / 0.5731 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.3356, allocations: 309.5 kB / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3356, allocations: 0 / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.3359, allocations: 261.8 kB / 0.5736 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3363, allocations: 31.92 kB / 0.5737 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.3371, allocations: 465.5 kB / 0.5741 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3374, allocations: 0.7084 MB / 0.5748 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3375, allocations: 8.969 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3375, allocations: 11.44 kB / 0.5748 GB, free: 6.484 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3375, allocations: 0 / 0.5748 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Templates: time 0.004475/0.342, allocations: 1.608 MB / 0.5764 GB, free: 4.887 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 4.999400713015348]