Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001129/0.001129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002465, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001148/0.001148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002565, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.09/1.09, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.226, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3275/0.3275, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03007/0.3576, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 1.375 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.603e-05, allocations: 5.125 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002299/0.002325, allocations: 1.744 MB / 292.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.002515, allocations: 109.8 kB / 292.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.002567, allocations: 1.281 kB / 292.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.002614, allocations: 18.17 kB / 292.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.002691, allocations: 39.53 kB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.445e-05/0.002755, allocations: 24.06 kB / 292.5 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.002901, allocations: 140.7 kB / 292.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.003019, allocations: 28.05 kB / 292.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.003146, allocations: 81.12 kB / 292.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.003226, allocations: 31.91 kB / 292.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.003255, allocations: 14.53 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.003271, allocations: 9.219 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.003293, allocations: 15.81 kB / 292.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.003337, allocations: 35.62 kB / 292.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.003489, allocations: 79.81 kB / 292.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.003506, allocations: 6 kB / 293 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003507, allocations: 0 / 293 MB, free: 5.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.00352, allocations: 0 / 293 MB, free: 5.875 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.0004286/0.003949, allocations: 331.2 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.003983, allocations: 8.188 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.004022, allocations: 20.61 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.004175, allocations: 129.7 kB / 293.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004186, allocations: 8.609 kB / 293.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.00422, allocations: 20.34 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.004352, allocations: 105.5 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004364, allocations: 4.141 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004375, allocations: 8.359 kB / 293.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004382, allocations: 4.375 kB / 293.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.004432, allocations: 41.42 kB / 293.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.004856, allocations: 363.8 kB / 294 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/0.004945, allocations: 69.2 kB / 294 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.004967, allocations: 13.72 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.004974, allocations: 4 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004998, allocations: 38.5 kB / 294.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.004999, allocations: 4 kB / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003137/0.005313, allocations: 123.3 kB / 294.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.005356, allocations: 77.11 kB / 294.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.005436, allocations: 124.5 kB / 294.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.005448, allocations: 25.7 kB / 294.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.005502, allocations: 119.8 kB / 294.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.00553, allocations: 35.69 kB / 294.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.005567, allocations: 33.69 kB / 294.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.005654, allocations: 322.8 kB / 294.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.005671, allocations: 19.86 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.00572, allocations: 79.09 kB / 295 MB, free: 3.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.005798, allocations: 100.8 kB / 295.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.005803, allocations: 4 kB / 295.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001534/0.005956, allocations: 131 kB / 295.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.005972, allocations: 4 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.005979, allocations: 4 kB / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.006117, allocations: 29.7 kB / 295.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.006181, allocations: 31.92 kB / 295.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.007502, allocations: 2.318 MB / 297.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.007539, allocations: 16.12 kB / 297.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007545, allocations: 8 kB / 297.7 MB, free: 0.793 MB / 282.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.51e-05/0.00761, allocations: 117.8 kB / 297.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.007635, allocations: 11.94 kB / 297.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.007657, allocations: 15.98 kB / 297.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.007658, allocations: 0 / 297.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.007663, allocations: 0 / 297.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007666, allocations: 4.094 kB / 297.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.007889, allocations: 89.84 kB / 297.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.007892, allocations: 4 kB / 297.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.007961, allocations: 19.98 kB / 297.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.007969, allocations: 11.89 kB / 297.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.368e-05/0.008053, allocations: 29.64 kB / 298 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.00806, allocations: 0 / 298 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.009264, allocations: 2.31 MB / 300.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.009267, allocations: 3.938 kB / 300.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.009425, allocations: 272.4 kB / 300.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.009436, allocations: 7.938 kB / 300.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.009488, allocations: 192 / 300.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.009506, allocations: 19.92 kB / 300.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.00951, allocations: 0 / 300.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.788e-05/0.009528, allocations: 21.7 kB / 300.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009528, allocations: 3.938 kB / 300.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.009722, allocations: 35.95 kB / 300.6 MB, free: 13.59 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 8.925e-05/0.009812, allocations: 76.45 kB / 300.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.01008, allocations: 294.2 kB / 301 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.01008, allocations: 4 kB / 301 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.0102, allocations: 254.1 kB / 301.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01043, allocations: 34.05 kB / 301.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.01224, allocations: 314.8 kB / 301.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.01229, allocations: 71.83 kB / 301.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.01233, allocations: 8.969 kB / 301.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.0124, allocations: 71.36 kB / 301.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0124, allocations: 0 / 301.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of Templates: time 0.004214/0.01661, allocations: 1.843 MB / 303.6 MB, free: 10.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3316335221752524]