Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001387/0.001387, allocations: 75.75 kB / 21.24 MB, free: 0.5352 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.001479/0.001479, allocations: 157.8 kB / 24.49 MB, free: 3.703 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.511/1.511, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.2152/0.2152, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003427/0.003427, allocations: 79.86 kB / 443.1 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3753, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003095/0.3784, allocations: 2.666 MB / 0.4999 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3794, allocations: 0.766 MB / 0.5006 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3796, allocations: 17.53 kB / 0.5006 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.3797, allocations: 65.86 kB / 0.5007 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3799, allocations: 127.9 kB / 0.5008 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3802, allocations: 114.5 kB / 0.5009 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.3805, allocations: 453.3 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3807, allocations: 128.9 kB / 0.5015 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.381, allocations: 191.5 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3811, allocations: 159.1 kB / 0.5018 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.3812, allocations: 35.09 kB / 0.5018 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.3813, allocations: 42.33 kB / 0.5019 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.3813, allocations: 82.78 kB / 0.502 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3814, allocations: 170.9 kB / 0.5021 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.3818, allocations: 463.1 kB / 0.5026 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3818, allocations: 3.516 kB / 0.5026 GB, free: 26.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3818, allocations: 0 / 0.5026 GB, free: 26.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3818, allocations: 0 / 0.5026 GB, free: 26.45 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008066/0.3826, allocations: 0.61 MB / 0.5032 GB, free: 25.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3827, allocations: 8.312 kB / 0.5032 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.383, allocations: 74.5 kB / 0.5032 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3833, allocations: 242.5 kB / 0.5035 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3833, allocations: 28.75 kB / 0.5035 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.3833, allocations: 39.69 kB / 0.5035 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.3839, allocations: 388.4 kB / 0.5039 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3839, allocations: 7.141 kB / 0.5039 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3839, allocations: 14.97 kB / 0.5039 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3839, allocations: 8.875 kB / 0.5039 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.3843, allocations: 250.3 kB / 0.5042 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3855, allocations: 0.909 MB / 0.5051 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.3859, allocations: 329.7 kB / 0.5054 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.3862, allocations: 163.3 kB / 0.5055 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3862, allocations: 5.562 kB / 0.5055 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3862, allocations: 37.72 kB / 0.5056 GB, free: 24.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.3862, allocations: 0 / 0.5056 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.002975/0.3892, allocations: 2.011 MB / 0.5075 GB, free: 23.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3892, allocations: 108.9 kB / 0.5076 GB, free: 23.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3894, allocations: 197.9 kB / 0.5078 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3894, allocations: 36.61 kB / 0.5079 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.3895, allocations: 201.8 kB / 0.5081 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/0.3896, allocations: 201.6 kB / 0.5083 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.3896, allocations: 89.91 kB / 0.5083 GB, free: 22.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.3897, allocations: 343 kB / 0.5087 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3899, allocations: 128.1 kB / 0.5088 GB, free: 22.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3902, allocations: 235 kB / 0.509 GB, free: 22.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.3907, allocations: 407 kB / 0.5094 GB, free: 21.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3907, allocations: 3 kB / 0.5094 GB, free: 21.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000842/0.3915, allocations: 0.5515 MB / 0.5099 GB, free: 21.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3916, allocations: 5.812 kB / 0.5099 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3916, allocations: 2.906 kB / 0.5099 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.3919, allocations: 126 kB / 0.5101 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.3923, allocations: 93.64 kB / 0.5102 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.3951, allocations: 4.805 MB / 0.5149 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.3953, allocations: 24.25 kB / 0.5149 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.3954, allocations: 18.56 kB / 0.5149 GB, free: 16.98 MB / 446.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.0001559/0.3955, allocations: 169.7 kB / 0.5151 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3956, allocations: 39.72 kB / 0.5151 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.3957, allocations: 42.78 kB / 0.5151 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3957, allocations: 6.219 kB / 0.5151 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.3957, allocations: 10.58 kB / 0.5151 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3957, allocations: 5.125 kB / 0.5152 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.3974, allocations: 1.175 MB / 0.5163 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3974, allocations: 5.469 kB / 0.5163 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.3979, allocations: 96.48 kB / 0.5164 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.3981, allocations: 97.25 kB / 0.5165 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.3981, allocations: 17.31 kB / 0.5165 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.4003, allocations: 4.039 MB / 0.5205 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4003, allocations: 8.938 kB / 0.5205 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.4015, allocations: 0.9119 MB / 0.5213 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.4015, allocations: 29.69 kB / 0.5214 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4016, allocations: 16.56 kB / 0.5214 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4018, allocations: 17.23 kB / 0.5214 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.4019, allocations: 48.31 kB / 0.5215 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.4019, allocations: 15.38 kB / 0.5215 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.402, allocations: 143.5 kB / 0.5216 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.402, allocations: 0 / 0.5216 GB, free: 11.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.4028, allocations: 121.1 kB / 0.5217 GB, free: 11.36 MB / 446.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.000102/0.4029, allocations: 109.3 kB / 0.5218 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.404, allocations: 0.7648 MB / 0.5226 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.404, allocations: 0 / 0.5226 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.4047, allocations: 0.5579 MB / 0.5231 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.4053, allocations: 69.78 kB / 0.5232 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4069, allocations: 1.082 MB / 0.5242 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.4071, allocations: 225.2 kB / 0.5245 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.4073, allocations: 33.88 kB / 0.5245 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.4073, allocations: 27.78 kB / 0.5245 GB, free: 9.461 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4073, allocations: 0 / 0.5245 GB, free: 9.461 MB / 446.1 MB Notification: Performance of Templates: time 0.01023/0.4175, allocations: 4.364 MB / 0.5288 GB, free: 8.898 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.4813476300332695]