Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001509/0.001509, allocations: 76.58 kB / 19.93 MB, free: 1.781 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.00168/0.00168, allocations: 166 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2406/0.2406, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.499e-05, allocations: 2.281 kB / 407.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00478/0.004815, allocations: 2.641 MB / 410 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.006456, allocations: 0.7215 MB / 410.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.00663, allocations: 7.938 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.00685, allocations: 63.38 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.00712, allocations: 134.8 kB / 410.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.00743, allocations: 83.86 kB / 411 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.007987, allocations: 453.6 kB / 411.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.00825, allocations: 106.1 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.008627, allocations: 259.4 kB / 411.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.008856, allocations: 127.6 kB / 411.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.008926, allocations: 35.98 kB / 412 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.008991, allocations: 32 kB / 412 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.009065, allocations: 79.73 kB / 412.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.00924, allocations: 135.7 kB / 412.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.00977, allocations: 434.6 kB / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.009775, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009776, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.009788, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001046/0.01083, allocations: 0.5716 MB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.01087, allocations: 12.03 kB / 413.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.01097, allocations: 48.66 kB / 413.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.0114, allocations: 218 kB / 413.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01143, allocations: 29.38 kB / 413.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.01151, allocations: 40.33 kB / 413.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.01222, allocations: 394.6 kB / 413.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.01225, allocations: 12.14 kB / 413.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.01229, allocations: 16.38 kB / 413.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.0123, allocations: 11.94 kB / 414 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.01277, allocations: 215.7 kB / 414.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.01526, allocations: 1.548 MB / 415.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.01581, allocations: 258.3 kB / 416 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.01604, allocations: 90.02 kB / 416.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.01606, allocations: 8 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.0161, allocations: 42.5 kB / 416.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.963e-06/0.0161, allocations: 3.938 kB / 416.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007665/0.01687, allocations: 266.2 kB / 416.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.01701, allocations: 221.6 kB / 416.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.01729, allocations: 261.7 kB / 416.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.01732, allocations: 29.7 kB / 416.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.01753, allocations: 243.9 kB / 417.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.01765, allocations: 123.1 kB / 417.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.0178, allocations: 98.3 kB / 417.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.01799, allocations: 342.8 kB / 417.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.01821, allocations: 97.39 kB / 417.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.01872, allocations: 433.1 kB / 418.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.01954, allocations: 0.5663 MB / 418.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.01955, allocations: 4 kB / 418.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001016/0.02057, allocations: 0.5366 MB / 419.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.02059, allocations: 8 kB / 419.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.02061, allocations: 12 kB / 419.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.02064, allocations: 16 kB / 419.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.02112, allocations: 143.8 kB / 419.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/0.02116, allocations: 23.92 kB / 419.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.02149, allocations: 67.61 kB / 419.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.02153, allocations: 32 kB / 419.6 MB, free: 6.062 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.02174, allocations: 177.7 kB / 419.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.02191, allocations: 35.75 kB / 419.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.02198, allocations: 33.77 kB / 419.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.02199, allocations: 4 kB / 419.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.022, allocations: 4 kB / 419.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.02201, allocations: 8.219 kB / 419.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.02335, allocations: 0.5535 MB / 420.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.02336, allocations: 7.938 kB / 420.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.02384, allocations: 87.88 kB / 420.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.02384, allocations: 8.062 kB / 420.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.02387, allocations: 12 kB / 420.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.02388, allocations: 7.984 kB / 420.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02388, allocations: 0 / 420.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.02488, allocations: 0.8243 MB / 421.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.02493, allocations: 35.73 kB / 421.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.02498, allocations: 12.06 kB / 421.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.02534, allocations: 16 kB / 421.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.02542, allocations: 35.83 kB / 421.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02544, allocations: 8 kB / 421.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.02562, allocations: 165.2 kB / 421.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02562, allocations: 0 / 421.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007687/0.02639, allocations: 103.8 kB / 421.7 MB, free: 3.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.02658, allocations: 112 kB / 421.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.0272, allocations: 270 kB / 422.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02721, allocations: 384 / 422.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.02739, allocations: 95.77 kB / 422.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.02843, allocations: 64.44 kB / 422.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.03051, allocations: 1.175 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.03076, allocations: 190.5 kB / 423.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.03093, allocations: 47.25 kB / 423.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.031, allocations: 28.5 kB / 423.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.031, allocations: 4 kB / 423.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Templates: time 0.007943/0.03894, allocations: 2.858 MB / 426.5 MB, free: 15.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: 5.3140027560293674]