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.0009135/0.0009135, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008325/0.0008325, allocations: 174.3 kB / 23.97 MB, free: 0.5938 MB / 18.57 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 0.8452/0.8452, allocations: 158.6 MB / 185.7 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1188/0.1188, allocations: 32.37 MB / 270.4 MB, free: 14.84 MB / 266.7 MB " [Timeout remaining time 180] 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.833e-06/1.833e-06, allocations: 3.938 kB / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.109e-05, allocations: 6.219 kB / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002588/0.00261, allocations: 2.634 MB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.003399, allocations: 0.7214 MB / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003509, allocations: 15.94 kB / 411.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.003644, allocations: 59.38 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.003785, allocations: 134.8 kB / 411.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003978, allocations: 87.86 kB / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.004251, allocations: 457.6 kB / 412.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004406, allocations: 94.11 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.004596, allocations: 263.4 kB / 412.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.00472, allocations: 119.7 kB / 412.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.004758, allocations: 32 kB / 412.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.004788, allocations: 35.94 kB / 412.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.004831, allocations: 83.66 kB / 412.8 MB, free: 13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.004912, allocations: 139.7 kB / 412.9 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.005239, allocations: 430.6 kB / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005241, allocations: 0 / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005243, allocations: 0 / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.005249, allocations: 4 kB / 413.4 MB, free: 12.43 MB / 394.7 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.000659/0.005908, allocations: 0.5678 MB / 413.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005944, allocations: 12.03 kB / 413.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.006014, allocations: 44.66 kB / 414 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.006311, allocations: 214 kB / 414.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.006339, allocations: 33.31 kB / 414.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.006401, allocations: 48.31 kB / 414.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.006949, allocations: 386.7 kB / 414.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.006977, allocations: 20.06 kB / 414.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.007012, allocations: 12.38 kB / 414.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.007023, allocations: 11.94 kB / 414.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.007346, allocations: 219.7 kB / 414.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.00901, allocations: 1.536 MB / 416.4 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.009352, allocations: 254.4 kB / 416.7 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.00948, allocations: 105.9 kB / 416.8 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.0095, allocations: 4 kB / 416.8 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.009526, allocations: 46.5 kB / 416.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.009527, allocations: 0 / 416.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005666/0.01009, allocations: 257.2 kB / 417.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.01018, allocations: 217.6 kB / 417.3 MB, free: 8.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.01039, allocations: 265.6 kB / 417.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01041, allocations: 29.7 kB / 417.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.01079, allocations: 248.4 kB / 417.8 MB, free: 7.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.01087, allocations: 126.9 kB / 418 MB, free: 7.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.01097, allocations: 98.3 kB / 418.1 MB, free: 7.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01108, allocations: 342.8 kB / 418.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01125, allocations: 97.27 kB / 418.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.01159, allocations: 433.1 kB / 418.9 MB, free: 6.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.01214, allocations: 0.5624 MB / 419.5 MB, free: 5.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01215, allocations: 0 / 419.5 MB, free: 5.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007194/0.01287, allocations: 0.5364 MB / 420 MB, free: 5.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01289, allocations: 8 kB / 420 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.0129, allocations: 16.83 kB / 420 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.01292, allocations: 16 kB / 420.1 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.01327, allocations: 147.8 kB / 420.2 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.01329, allocations: 23.92 kB / 420.2 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.01353, allocations: 63.62 kB / 420.3 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.01356, allocations: 32 kB / 420.3 MB, free: 4.793 MB / 394.7 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.0001354/0.0137, allocations: 181.5 kB / 420.5 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.01383, allocations: 35.75 kB / 420.5 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.01388, allocations: 33.77 kB / 420.6 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.01389, allocations: 4 kB / 420.6 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01389, allocations: 4 kB / 420.6 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.0139, allocations: 4 kB / 420.6 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.0149, allocations: 0.5618 MB / 421.1 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01491, allocations: 4 kB / 421.1 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.01525, allocations: 91.81 kB / 421.2 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01525, allocations: 4 kB / 421.2 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.01528, allocations: 12.06 kB / 421.2 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.01528, allocations: 4 kB / 421.2 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01528, allocations: 4 kB / 421.2 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.01586, allocations: 0.8383 MB / 422.1 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.0159, allocations: 27.75 kB / 422.1 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.01593, allocations: 11.98 kB / 422.1 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.01622, allocations: 12 kB / 422.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.01627, allocations: 23.91 kB / 422.2 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01629, allocations: 15.92 kB / 422.2 MB, free: 2.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.0164, allocations: 169.2 kB / 422.3 MB, free: 2.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0164, allocations: 3.938 kB / 422.3 MB, free: 2.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006722/0.01708, allocations: 103.8 kB / 422.4 MB, free: 2.574 MB / 394.7 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 9.265e-05/0.01717, allocations: 107.1 kB / 422.6 MB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.01759, allocations: 289 kB / 422.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01759, allocations: 0 / 422.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01772, allocations: 89.27 kB / 422.9 MB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.01859, allocations: 73.36 kB / 423 MB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.02016, allocations: 1.207 MB / 424.2 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.02037, allocations: 186.5 kB / 424.4 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.02044, allocations: 40.44 kB / 424.4 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02045, allocations: 0 / 424.4 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of Templates: time 0.005877/0.02632, allocations: 4.342 MB / 428.8 MB, free: 12.17 MB / 410.7 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: 4.923733843490481]