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.0009771/0.0009771, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001012/0.001012, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 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 0.9627/0.9627, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.3106/0.3106, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 266.7 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 2.745e-06/2.745e-06, allocations: 0 / 378.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.581e-05, allocations: 3.297 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005148/0.005183, allocations: 2.873 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.007239, allocations: 0.7982 MB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.007536, allocations: 11.94 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.007813, allocations: 63.31 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.008194, allocations: 134.8 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.008707, allocations: 119.7 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006929/0.0094, allocations: 470.1 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.009773, allocations: 122.8 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.01051, allocations: 275.4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01081, allocations: 143.5 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.01088, allocations: 36 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.01099, allocations: 36 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.01107, allocations: 83.67 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.01126, allocations: 143.7 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.01177, allocations: 298.8 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.01177, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01177, allocations: 4 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.01179, allocations: 0 / 384.3 MB, free: 12.47 MB / 362.7 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.00104/0.01283, allocations: 0.7104 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.01288, allocations: 8.031 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.01315, allocations: 100.6 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.0137, allocations: 236 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.01373, allocations: 37.31 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.01378, allocations: 40.38 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.01418, allocations: 326.8 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.0142, allocations: 4.141 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01423, allocations: 16.38 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.01424, allocations: 15.94 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.01444, allocations: 131.8 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01559, allocations: 1.033 MB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.01594, allocations: 277.5 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.01608, allocations: 119.2 kB / 387.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.0161, allocations: 8 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.01613, allocations: 41.39 kB / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.744e-06/0.01614, allocations: 0 / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002042/0.01818, allocations: 1.77 MB / 389.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.01824, allocations: 114.8 kB / 389.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.0184, allocations: 250.7 kB / 389.5 MB, free: 6.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.01843, allocations: 37.7 kB / 389.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01855, allocations: 244.1 kB / 389.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.01867, allocations: 198.2 kB / 390 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.01877, allocations: 96 kB / 390.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01893, allocations: 0.5118 MB / 390.6 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.01905, allocations: 65.27 kB / 390.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01921, allocations: 202.7 kB / 390.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.01951, allocations: 308 kB / 391.2 MB, free: 5.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01951, allocations: 3.938 kB / 391.2 MB, free: 5.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005235/0.02003, allocations: 459.8 kB / 391.6 MB, free: 4.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02005, allocations: 7.938 kB / 391.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02006, allocations: 4 kB / 391.6 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.02033, allocations: 119.3 kB / 391.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.02056, allocations: 99.81 kB / 391.8 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.02395, allocations: 6.347 MB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.02407, allocations: 19.98 kB / 398.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.02409, allocations: 16 kB / 398.2 MB, free: 13.64 MB / 378.7 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.0001433/0.02423, allocations: 192.5 kB / 398.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.02431, allocations: 59.7 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.02435, allocations: 49.8 kB / 398.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02436, allocations: 4 kB / 398.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.02437, allocations: 4 kB / 398.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.02438, allocations: 3.984 kB / 398.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.02575, allocations: 1.195 MB / 399.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.02576, allocations: 0 / 399.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.02597, allocations: 91.88 kB / 399.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.02616, allocations: 103 kB / 399.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02618, allocations: 12 kB / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.02839, allocations: 5.425 MB / 405.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.0284, allocations: 4 kB / 405.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.02917, allocations: 0.8803 MB / 406.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.0292, allocations: 27.81 kB / 406.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.02923, allocations: 12 kB / 406.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02935, allocations: 16.05 kB / 406.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.02945, allocations: 47.86 kB / 406.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.02946, allocations: 16 kB / 406.3 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003706/0.02983, allocations: 177.8 kB / 406.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02983, allocations: 0 / 406.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004969/0.03033, allocations: 124 kB / 406.6 MB, free: 4.707 MB / 378.7 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.0001264/0.03045, allocations: 111.1 kB / 406.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.03126, allocations: 0.8326 MB / 407.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.03126, allocations: 0 / 407.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.03168, allocations: 0.6936 MB / 408.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.03215, allocations: 65.5 kB / 408.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.0337, allocations: 0.9498 MB / 409.3 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.0338, allocations: 122.4 kB / 409.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.884e-05/0.03389, allocations: 35.27 kB / 409.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.03395, allocations: 32.44 kB / 409.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03395, allocations: 0 / 409.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of Templates: time 0.007379/0.04133, allocations: 4.448 MB / 413.9 MB, free: 13.27 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4138049921020865]