Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105.7 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2115/0.2115, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001507, allocations: 72.14 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09915, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003224/0.1024, allocations: 2.824 MB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.1034, allocations: 0.7487 MB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1035, allocations: 11.94 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1037, allocations: 71.31 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1039, allocations: 122.9 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1042, allocations: 87.89 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.1045, allocations: 450.3 kB / 446.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.1048, allocations: 190.1 kB / 446.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.105, allocations: 167.4 kB / 446.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1051, allocations: 187.1 kB / 446.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.1052, allocations: 40 kB / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.1052, allocations: 35.94 kB / 446.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.1053, allocations: 91.61 kB / 447 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1054, allocations: 203 kB / 447.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1057, allocations: 446.4 kB / 447.6 MB, free: 496 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1057, allocations: 0 / 447.6 MB, free: 496 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1057, allocations: 0 / 447.6 MB, free: 496 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1057, allocations: 0 / 447.6 MB, free: 496 kB / 318.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.000833/0.1066, allocations: 0.6707 MB / 448.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1066, allocations: 11.89 kB / 448.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/0.1067, allocations: 44.41 kB / 448.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1071, allocations: 296.5 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1071, allocations: 25.38 kB / 448.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.1072, allocations: 48.28 kB / 448.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.1078, allocations: 393.3 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1078, allocations: 0 / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.1078, allocations: 16 kB / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1079, allocations: 8 kB / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.1083, allocations: 247.8 kB / 449.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1099, allocations: 1.1 MB / 450.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.1104, allocations: 347.5 kB / 450.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.1107, allocations: 179.1 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1108, allocations: 8 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.1108, allocations: 42.56 kB / 451 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.804e-06/0.1108, allocations: 0 / 451 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003757/0.1146, allocations: 2.436 MB / 453.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1146, allocations: 110.8 kB / 453.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1149, allocations: 242.6 kB / 453.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1149, allocations: 37.7 kB / 453.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.115, allocations: 188.6 kB / 454 MB, free: 9.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1152, allocations: 201 kB / 454.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1153, allocations: 82.27 kB / 454.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.1156, allocations: 350.7 kB / 454.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.116, allocations: 133 kB / 454.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.1165, allocations: 231.8 kB / 455 MB, free: 8.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/0.1174, allocations: 394 kB / 455.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1174, allocations: 0 / 455.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001453/0.1189, allocations: 0.5616 MB / 455.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1189, allocations: 9.25 kB / 455.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1189, allocations: 0 / 455.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.1195, allocations: 122.6 kB / 456 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.12, allocations: 99.81 kB / 456.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.1258, allocations: 5.217 MB / 461.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.1261, allocations: 19.98 kB / 461.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.1262, allocations: 20 kB / 461.4 MB, free: 1.625 MB / 334.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.0002723/0.1265, allocations: 169.8 kB / 461.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.1266, allocations: 35.53 kB / 461.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.1267, allocations: 50.17 kB / 461.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1268, allocations: 8 kB / 461.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.1268, allocations: 3.938 kB / 461.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1268, allocations: 7.984 kB / 461.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.1296, allocations: 1.321 MB / 463 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1296, allocations: 0 / 463 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.1302, allocations: 95.89 kB / 463.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.1306, allocations: 86.52 kB / 463.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.1307, allocations: 23.86 kB / 463.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.135, allocations: 4.423 MB / 467.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.135, allocations: 0 / 467.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.1368, allocations: 0.931 MB / 468.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.137, allocations: 108.7 kB / 468.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.137, allocations: 12 kB / 468.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.1375, allocations: 15.98 kB / 468.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1376, allocations: 51.81 kB / 468.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.1376, allocations: 20 kB / 468.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1379, allocations: 173.9 kB / 468.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1379, allocations: 0 / 468.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001125/0.139, allocations: 120 kB / 469 MB, free: 9.426 MB / 350.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.0001669/0.1392, allocations: 107.2 kB / 469.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.1409, allocations: 0.7816 MB / 469.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.141, allocations: 0 / 469.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.142, allocations: 0.5772 MB / 470.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.143, allocations: 63.47 kB / 470.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1454, allocations: 1.081 MB / 471.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.1459, allocations: 0.8202 MB / 472.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1461, allocations: 39.25 kB / 472.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.1462, allocations: 27.44 kB / 472.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1462, allocations: 0 / 472.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Templates: time 0.01227/0.1585, allocations: 4.462 MB / 477 MB, free: 1.332 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches