Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008182/0.0008182, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.0021, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007754/0.0007754, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002447, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9273/0.9273, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09/1.017, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0268/0.2732, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.298e-05, allocations: 4.125 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002311/0.002334, allocations: 1.746 MB / 295.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.002489, allocations: 115.5 kB / 295.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.002535, allocations: 0 / 295.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.002575, allocations: 19.8 kB / 296 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002638, allocations: 31.7 kB / 296 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.204e-05/0.0027, allocations: 31.89 kB / 296 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002809, allocations: 135.3 kB / 296.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.002904, allocations: 29.83 kB / 296.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003005, allocations: 79.86 kB / 296.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.003076, allocations: 35.89 kB / 296.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.003098, allocations: 8 kB / 296.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.003114, allocations: 12 kB / 296.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003137, allocations: 15.94 kB / 296.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.00317, allocations: 35.94 kB / 296.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.003298, allocations: 83.56 kB / 296.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.003309, allocations: 0 / 296.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003309, allocations: 0 / 296.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.003319, allocations: 0 / 296.4 MB, free: 2.723 MB / 282.7 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.0003733/0.003692, allocations: 333.7 kB / 296.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.003726, allocations: 11.44 kB / 296.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.003762, allocations: 16.92 kB / 296.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.003887, allocations: 129.6 kB / 296.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.003896, allocations: 8.609 kB / 296.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.003927, allocations: 20.36 kB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.004037, allocations: 101.5 kB / 297.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.004048, allocations: 8.078 kB / 297.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.004057, allocations: 8.375 kB / 297.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004063, allocations: 8.375 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.004103, allocations: 31.91 kB / 297.1 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.004478, allocations: 371.9 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.004547, allocations: 57.08 kB / 297.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.004569, allocations: 25.89 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.004575, allocations: 0 / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.004597, allocations: 38.5 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.004598, allocations: 0 / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002584/0.004857, allocations: 123.2 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.004888, allocations: 81.11 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.004951, allocations: 123.6 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004961, allocations: 29.7 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.005006, allocations: 119.9 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.005027, allocations: 35.72 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005056, allocations: 29.67 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.005126, allocations: 322.8 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.00514, allocations: 15.94 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.005183, allocations: 80.5 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.005253, allocations: 100.4 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.005256, allocations: 4 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001254/0.005382, allocations: 135.4 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.005395, allocations: 8 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.0054, allocations: 0 / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.005514, allocations: 33.7 kB / 298.8 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.005571, allocations: 23.94 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.006675, allocations: 2.319 MB / 301.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.006718, allocations: 16.14 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006724, allocations: 8 kB / 301.2 MB, free: 13.56 MB / 298.7 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 6.722e-05/0.006791, allocations: 121.8 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.006815, allocations: 7.938 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.006834, allocations: 12 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.006834, allocations: 3.938 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.006839, allocations: 4 kB / 301.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006843, allocations: 3.984 kB / 301.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.006957, allocations: 85.88 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.006961, allocations: 8.047 kB / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.00702, allocations: 15.98 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007029, allocations: 15.88 kB / 301.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/0.007099, allocations: 33.62 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007109, allocations: 8 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009277/0.008036, allocations: 2.301 MB / 303.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.008039, allocations: 7.938 kB / 303.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008182, allocations: 283.7 kB / 304.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.008191, allocations: 7.938 kB / 304.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.00824, allocations: 4.188 kB / 304.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.008257, allocations: 7.984 kB / 304.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.008259, allocations: 0 / 304.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.741e-05/0.008277, allocations: 24.84 kB / 304.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008277, allocations: 0 / 304.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.008476, allocations: 35.95 kB / 304.2 MB, free: 10.35 MB / 298.7 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 7.394e-05/0.00855, allocations: 80.39 kB / 304.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.008782, allocations: 294.2 kB / 304.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.008787, allocations: 0 / 304.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.008907, allocations: 262.1 kB / 304.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.009183, allocations: 252.6 kB / 305 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.01092, allocations: 302 kB / 305.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.01096, allocations: 71.83 kB / 305.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.01099, allocations: 12.64 kB / 305.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01105, allocations: 71.3 kB / 305.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01105, allocations: 0 / 305.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of Templates: time 0.003366/0.01442, allocations: 1.85 MB / 307.3 MB, free: 7.062 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.859599133953452]