Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001615/0.001615, 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.001928/0.001928, 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.88 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3088, allocations: 65.46 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004291/0.3131, allocations: 2.882 MB / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3146, allocations: 0.8101 MB / 0.5619 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3147, allocations: 11.94 kB / 0.5619 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3149, allocations: 67.31 kB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3151, allocations: 130.9 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.3155, allocations: 119.8 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.316, allocations: 446.3 kB / 0.5626 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3163, allocations: 142.8 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.3165, allocations: 179.3 kB / 0.5629 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3168, allocations: 191.2 kB / 0.5631 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.3169, allocations: 36 kB / 0.5631 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.317, allocations: 39.94 kB / 0.5632 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.317, allocations: 83.73 kB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3172, allocations: 218.8 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.3178, allocations: 460.4 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3178, allocations: 0 / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3178, allocations: 0 / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3178, allocations: 0 / 0.5639 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001009/0.3188, allocations: 0.6066 MB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3188, allocations: 16.03 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.3192, allocations: 72.61 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3196, allocations: 238.6 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3196, allocations: 25.38 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.3197, allocations: 48.36 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.3203, allocations: 385.3 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.3204, allocations: 7.938 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.3204, allocations: 16 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3204, allocations: 8 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.3209, allocations: 244.4 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.3226, allocations: 1.059 MB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.3232, allocations: 323.5 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.3235, allocations: 162.4 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3235, allocations: 15.98 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3236, allocations: 34.56 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.923e-06/0.3236, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003844/0.3274, allocations: 2.014 MB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.3275, allocations: 114.8 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.3278, allocations: 249.9 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3278, allocations: 33.7 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3279, allocations: 184.9 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3281, allocations: 214.2 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3282, allocations: 82.34 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3284, allocations: 350.7 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3287, allocations: 129.2 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.329, allocations: 232.8 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.3297, allocations: 397.9 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3297, allocations: 0 / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001063/0.3307, allocations: 0.5579 MB / 0.5714 GB, free: 9.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3307, allocations: 8 kB / 0.5714 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3308, allocations: 4 kB / 0.5715 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.3311, allocations: 122.6 kB / 0.5716 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.3315, allocations: 99.81 kB / 0.5717 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.3362, allocations: 4.907 MB / 0.5765 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.3365, allocations: 16 kB / 0.5765 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3365, allocations: 16 kB / 0.5765 GB, free: 4.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.3368, allocations: 178.2 kB / 0.5767 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3369, allocations: 39.77 kB / 0.5767 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.337, allocations: 50.11 kB / 0.5767 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3371, allocations: 4 kB / 0.5767 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.3371, allocations: 7.938 kB / 0.5768 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3371, allocations: 7.922 kB / 0.5768 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.3392, allocations: 1.279 MB / 0.578 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3392, allocations: 0 / 0.578 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3396, allocations: 103.8 kB / 0.5781 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.3399, allocations: 90.52 kB / 0.5782 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.3399, allocations: 15.94 kB / 0.5782 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.3435, allocations: 4.126 MB / 0.5822 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3435, allocations: 3.938 kB / 0.5822 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.3449, allocations: 0.9181 MB / 0.5831 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.345, allocations: 39.81 kB / 0.5832 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.345, allocations: 12 kB / 0.5832 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3453, allocations: 12 kB / 0.5832 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3454, allocations: 47.84 kB / 0.5832 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3455, allocations: 20 kB / 0.5833 GB, free: 12.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.3456, allocations: 181.2 kB / 0.5834 GB, free: 12.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3456, allocations: 0 / 0.5834 GB, free: 12.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007515/0.3464, allocations: 116 kB / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.3466, allocations: 111.2 kB / 0.5837 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.348, allocations: 0.7675 MB / 0.5844 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.348, allocations: 0 / 0.5844 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008356/0.3488, allocations: 0.5587 MB / 0.585 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.3495, allocations: 60.45 kB / 0.585 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3514, allocations: 1.144 MB / 0.5861 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3518, allocations: 0.8241 MB / 0.5869 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.3519, allocations: 35.42 kB / 0.587 GB, free: 8.832 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3519, allocations: 0 / 0.587 GB, free: 8.832 MB / 430.1 MB Notification: Performance of Templates: time 0.01292/0.3649, allocations: 9.496 MB / 0.5962 GB, free: 15.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.878979670116678]