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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 115.5 kB / 17.13 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 194.8 kB / 20.07 MB, free: 2.992 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.743/1.743, allocations: 207.6 MB / 230.4 MB, free: 4.023 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.3986/0.3986, allocations: 44.23 MB / 326.5 MB, free: 6.867 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.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=5002,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=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "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.00228/0.00228, allocations: 75.88 kB / 462.7 MB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3812, allocations: 60.99 MB / 0.5114 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002766/0.384, allocations: 1.672 MB / 0.513 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.3843, allocations: 114.4 kB / 0.5131 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3843, allocations: 2.781 kB / 0.5131 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.139e-05/0.3844, allocations: 13.14 kB / 0.5131 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3845, allocations: 35.7 kB / 0.5132 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.3847, allocations: 31.98 kB / 0.5132 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3848, allocations: 125.5 kB / 0.5133 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.385, allocations: 27.38 kB / 0.5133 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.385, allocations: 50.53 kB / 0.5134 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.3851, allocations: 51.19 kB / 0.5134 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3851, allocations: 13.69 kB / 0.5134 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.3852, allocations: 13.16 kB / 0.5135 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.3852, allocations: 16.72 kB / 0.5135 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.3852, allocations: 60.22 kB / 0.5135 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3854, allocations: 121.5 kB / 0.5136 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3854, allocations: 3.938 kB / 0.5136 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3854, allocations: 0 / 0.5136 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3854, allocations: 1.375 kB / 0.5137 GB, free: 11.76 MB / 382.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.0004591/0.3859, allocations: 411.1 kB / 0.514 GB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3859, allocations: 13.11 kB / 0.5141 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.386, allocations: 23.64 kB / 0.5141 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3861, allocations: 189.1 kB / 0.5143 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3861, allocations: 5.141 kB / 0.5143 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.3862, allocations: 20.33 kB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3864, allocations: 126.7 kB / 0.5144 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3864, allocations: 2 kB / 0.5144 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3864, allocations: 9.75 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3864, allocations: 1.781 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3865, allocations: 64.38 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.3871, allocations: 0.5414 MB / 0.515 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3872, allocations: 81.95 kB / 0.5151 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.3872, allocations: 30.14 kB / 0.5151 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3872, allocations: 5.312 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3873, allocations: 31.94 kB / 0.5151 GB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3873, allocations: 0 / 0.5151 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.3878, allocations: 306.1 kB / 0.5154 GB, free: 10 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3878, allocations: 82.47 kB / 0.5155 GB, free: 9.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.3879, allocations: 117 kB / 0.5156 GB, free: 9.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3879, allocations: 27.08 kB / 0.5157 GB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3879, allocations: 129.2 kB / 0.5158 GB, free: 9.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.388, allocations: 31.86 kB / 0.5158 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.388, allocations: 29.95 kB / 0.5158 GB, free: 9.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.388, allocations: 325.5 kB / 0.5161 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.3881, allocations: 24.36 kB / 0.5162 GB, free: 9.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.3881, allocations: 86.11 kB / 0.5163 GB, free: 9.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3883, allocations: 129.4 kB / 0.5164 GB, free: 9.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3883, allocations: 1.375 kB / 0.5164 GB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002443/0.3885, allocations: 168.9 kB / 0.5165 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3885, allocations: 9.594 kB / 0.5165 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3885, allocations: 2.125 kB / 0.5166 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.3887, allocations: 43.11 kB / 0.5166 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.3888, allocations: 29.38 kB / 0.5166 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.39, allocations: 2.741 MB / 0.5193 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.3901, allocations: 11.64 kB / 0.5193 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3901, allocations: 10.16 kB / 0.5193 GB, free: 5.984 MB / 382.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 6.913e-05/0.3902, allocations: 124.5 kB / 0.5194 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.3902, allocations: 8.234 kB / 0.5194 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.3902, allocations: 16.7 kB / 0.5195 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3902, allocations: 5.438 kB / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3902, allocations: 1.656 kB / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3902, allocations: 1.562 kB / 0.5195 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3904, allocations: 195.2 kB / 0.5197 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3905, allocations: 0 / 0.5197 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.3905, allocations: 15.39 kB / 0.5197 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.388e-05/0.3906, allocations: 37.42 kB / 0.5197 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3906, allocations: 5.062 kB / 0.5197 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3917, allocations: 2.734 MB / 0.5224 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3917, allocations: 3.984 kB / 0.5224 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3919, allocations: 306.3 kB / 0.5227 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.392, allocations: 83.81 kB / 0.5228 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.392, allocations: 1.375 kB / 0.5228 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.3921, allocations: 5.375 kB / 0.5228 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3921, allocations: 12.22 kB / 0.5228 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3921, allocations: 2.75 kB / 0.5228 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.838e-05/0.3921, allocations: 95.45 kB / 0.5229 GB, free: 2.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3921, allocations: 1.375 kB / 0.5229 GB, free: 2.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.3925, allocations: 35.44 kB / 0.5229 GB, free: 2.223 MB / 382.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.591e-05/0.3926, allocations: 106.4 kB / 0.523 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.393, allocations: 305.2 kB / 0.5233 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.393, allocations: 3.938 kB / 0.5233 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.3931, allocations: 257.3 kB / 0.5235 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3936, allocations: 24.48 kB / 0.5236 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.3943, allocations: 472.5 kB / 0.524 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.3945, allocations: 0.7123 MB / 0.5247 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.3945, allocations: 4.891 kB / 0.5247 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.3945, allocations: 11.44 kB / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3945, allocations: 0 / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of Templates: time 0.0051/0.3996, allocations: 1.561 MB / 0.5263 GB, free: 14.69 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.769438706338406]