Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 82.17 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 160.2 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 75.88 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3969, allocations: 66.06 MB / 0.4973 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003093/0.4, allocations: 1.622 MB / 0.4988 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000283/0.4003, allocations: 110.1 kB / 0.4989 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.4004, allocations: 11.03 kB / 0.499 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.4004, allocations: 14.44 kB / 0.499 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.4005, allocations: 36.98 kB / 0.499 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.4007, allocations: 25.11 kB / 0.499 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.4008, allocations: 130.3 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.401, allocations: 28.33 kB / 0.4992 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.4011, allocations: 48.81 kB / 0.4992 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.4011, allocations: 46.38 kB / 0.4993 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.4012, allocations: 9.656 kB / 0.4993 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.4012, allocations: 9.531 kB / 0.4993 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.4012, allocations: 22.62 kB / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.4013, allocations: 49.67 kB / 0.4994 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.4014, allocations: 126.9 kB / 0.4995 GB, free: 28.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4014, allocations: 0 / 0.4995 GB, free: 28.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4014, allocations: 0 / 0.4995 GB, free: 28.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.4015, allocations: 0 / 0.4995 GB, free: 28.29 MB / 446.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.0004913/0.4019, allocations: 330.4 kB / 0.4998 GB, free: 27.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.402, allocations: 12.97 kB / 0.4998 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.402, allocations: 15.27 kB / 0.4998 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.4022, allocations: 131 kB / 0.4999 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4022, allocations: 14.89 kB / 0.5 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.4023, allocations: 10.62 kB / 0.5 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4025, allocations: 132.3 kB / 0.5001 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4025, allocations: 7.359 kB / 0.5001 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.4026, allocations: 7.938 kB / 0.5001 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4026, allocations: 3.188 kB / 0.5001 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4027, allocations: 57.81 kB / 0.5002 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.4033, allocations: 434.5 kB / 0.5006 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4035, allocations: 93.61 kB / 0.5007 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.4035, allocations: 26.7 kB / 0.5007 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4035, allocations: 3.984 kB / 0.5007 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4035, allocations: 41.72 kB / 0.5007 GB, free: 27.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.4035, allocations: 3.938 kB / 0.5007 GB, free: 27.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005237/0.4041, allocations: 142.8 kB / 0.5009 GB, free: 27.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.4041, allocations: 77.11 kB / 0.501 GB, free: 27.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.4042, allocations: 128.6 kB / 0.5011 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4042, allocations: 33.7 kB / 0.5011 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.4042, allocations: 117.6 kB / 0.5012 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.4043, allocations: 34.75 kB / 0.5013 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4043, allocations: 35.09 kB / 0.5013 GB, free: 26.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.4044, allocations: 325.4 kB / 0.5016 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.4044, allocations: 17.19 kB / 0.5016 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.4045, allocations: 86.8 kB / 0.5017 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4046, allocations: 123.5 kB / 0.5018 GB, free: 26.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4046, allocations: 0 / 0.5018 GB, free: 26.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002443/0.4048, allocations: 166.1 kB / 0.502 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4048, allocations: 6.594 kB / 0.502 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4048, allocations: 11.12 kB / 0.502 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.405, allocations: 33.38 kB / 0.502 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.4051, allocations: 30.53 kB / 0.502 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.4064, allocations: 2.484 MB / 0.5045 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.4065, allocations: 14.77 kB / 0.5045 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4065, allocations: 10.16 kB / 0.5045 GB, free: 23.55 MB / 446.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 7.644e-05/0.4066, allocations: 119.9 kB / 0.5046 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.4066, allocations: 10.05 kB / 0.5046 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.4066, allocations: 11.42 kB / 0.5046 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4066, allocations: 3.125 kB / 0.5046 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4067, allocations: 8.031 kB / 0.5046 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4067, allocations: 3.938 kB / 0.5046 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.4069, allocations: 134.8 kB / 0.5048 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4069, allocations: 0 / 0.5048 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.407, allocations: 20.28 kB / 0.5048 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.932e-05/0.4071, allocations: 37.38 kB / 0.5048 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4071, allocations: 0 / 0.5048 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.4082, allocations: 2.476 MB / 0.5073 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4082, allocations: 0 / 0.5073 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.4085, allocations: 314.5 kB / 0.5076 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.4085, allocations: 2.688 kB / 0.5076 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4085, allocations: 6.562 kB / 0.5076 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.4086, allocations: 4.188 kB / 0.5076 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.4086, allocations: 11.95 kB / 0.5076 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4086, allocations: 10 kB / 0.5076 GB, free: 20.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.342e-05/0.4086, allocations: 92.19 kB / 0.5077 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4086, allocations: 3.938 kB / 0.5077 GB, free: 20.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.409, allocations: 39.39 kB / 0.5077 GB, free: 20.37 MB / 446.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.067e-05/0.4091, allocations: 93.25 kB / 0.5078 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.4095, allocations: 304.8 kB / 0.5081 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4095, allocations: 0 / 0.5081 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.4097, allocations: 263 kB / 0.5083 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.4102, allocations: 20.78 kB / 0.5084 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.411, allocations: 479 kB / 0.5088 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.4111, allocations: 96.64 kB / 0.5089 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.4111, allocations: 11.55 kB / 0.5089 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.4111, allocations: 14.84 kB / 0.5089 GB, free: 19.31 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4111, allocations: 0 / 0.5089 GB, free: 19.31 MB / 446.1 MB Notification: Performance of Templates: time 0.004688/0.4158, allocations: 1.632 MB / 0.5105 GB, free: 19.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.130185669055209]