Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001871/0.001871, allocations: 195 kB / 17.98 MB, free: 5.027 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.451/1.451, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2039/0.2039, allocations: 43.52 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.001621/0.001621, allocations: 68.34 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09667, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00285/0.09956, allocations: 1.652 MB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.09988, allocations: 119.6 kB / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.09998, allocations: 0 / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.1001, allocations: 11.86 kB / 443.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1002, allocations: 35.64 kB / 443.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.1003, allocations: 23.97 kB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1004, allocations: 127.4 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1006, allocations: 37.09 kB / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.1007, allocations: 43.86 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.1007, allocations: 47.78 kB / 444.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1008, allocations: 12 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1008, allocations: 8 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.1008, allocations: 27.91 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.1009, allocations: 55.73 kB / 444.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.101, allocations: 131.5 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.101, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.101, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.101, allocations: 7.875 kB / 444.3 MB, free: 3.809 MB / 318.1 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.0003738/0.1014, allocations: 407.3 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1014, allocations: 15.89 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.1015, allocations: 8.844 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1016, allocations: 196.1 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1016, allocations: 12.61 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1017, allocations: 16.38 kB / 444.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1019, allocations: 127 kB / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1019, allocations: 4.094 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1019, allocations: 7.938 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1019, allocations: 4 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.102, allocations: 59.89 kB / 445.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.1026, allocations: 0.5372 MB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1027, allocations: 89.16 kB / 445.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.1028, allocations: 29.72 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.1028, allocations: 7.938 kB / 445.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1028, allocations: 30.56 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1028, allocations: 0 / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004856/0.1033, allocations: 305.8 kB / 446.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.1033, allocations: 81.11 kB / 446.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.1034, allocations: 125.8 kB / 446.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.1034, allocations: 25.7 kB / 446.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.1035, allocations: 115.6 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1035, allocations: 35.55 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1035, allocations: 29.72 kB / 446.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.1036, allocations: 322.8 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.1036, allocations: 20 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.1037, allocations: 92.22 kB / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.1038, allocations: 124.4 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1038, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002186/0.104, allocations: 171.1 kB / 447.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.104, allocations: 5.25 kB / 447.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.104, allocations: 4 kB / 447.2 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.1042, allocations: 45.52 kB / 447.3 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.1043, allocations: 23.98 kB / 447.3 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1061, allocations: 2.738 MB / 450.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.1062, allocations: 8.094 kB / 450.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1062, allocations: 16 kB / 450.1 MB, free: 13.37 MB / 334.1 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 0.0001032/0.1063, allocations: 133.6 kB / 450.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1064, allocations: 7.906 kB / 450.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.1064, allocations: 15.84 kB / 450.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1064, allocations: 3.938 kB / 450.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1064, allocations: 4 kB / 450.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1064, allocations: 0 / 450.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1067, allocations: 197.6 kB / 450.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1067, allocations: 4 kB / 450.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.1068, allocations: 11.98 kB / 450.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-05/0.1069, allocations: 33.72 kB / 450.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1069, allocations: 7.922 kB / 450.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.1087, allocations: 2.734 MB / 453.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1087, allocations: 4.031 kB / 453.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.109, allocations: 304.4 kB / 453.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1091, allocations: 88.95 kB / 453.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1091, allocations: 0 / 453.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1092, allocations: 4 kB / 453.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1092, allocations: 8.031 kB / 453.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1092, allocations: 4 kB / 453.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.1093, allocations: 99.64 kB / 453.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1093, allocations: 0 / 453.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.1096, allocations: 39.91 kB / 453.8 MB, free: 9.293 MB / 334.1 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 9.726e-05/0.1097, allocations: 99.19 kB / 453.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1102, allocations: 301.9 kB / 454.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1102, allocations: 0 / 454.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1105, allocations: 261.3 kB / 454.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.111, allocations: 27.92 kB / 454.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.1118, allocations: 473 kB / 454.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1121, allocations: 0.7083 MB / 455.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1121, allocations: 16.86 kB / 455.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1121, allocations: 11.44 kB / 455.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1121, allocations: 0 / 455.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of Templates: time 0.00404/0.1162, allocations: 1.504 MB / 457.1 MB, free: 5.801 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches