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.001064/0.001064, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001038/0.001038, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.9817/0.9817, allocations: 177 MB / 205.9 MB, free: 4.453 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.1625/0.1625, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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 1.593e-06/1.593e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.694e-05/3.853e-05, allocations: 4.281 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002949/0.002988, allocations: 2.833 MB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004244, allocations: 0.7866 MB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.004439, allocations: 11.94 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.004606, allocations: 63.31 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.004767, allocations: 134.8 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.005025, allocations: 119.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.005315, allocations: 470.1 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.005495, allocations: 126.8 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.005736, allocations: 267.4 kB / 384.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.005884, allocations: 143.5 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.005921, allocations: 43.94 kB / 385 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.00598, allocations: 36 kB / 385 MB, free: 17.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.006018, allocations: 87.66 kB / 385.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.006099, allocations: 139.7 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.006325, allocations: 298.9 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006327, allocations: 0 / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006328, allocations: 0 / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006333, allocations: 0 / 385.5 MB, free: 17.22 MB / 314.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.0004894/0.006822, allocations: 0.7064 MB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.006853, allocations: 12.03 kB / 386.2 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.007031, allocations: 100.6 kB / 386.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.007238, allocations: 247.9 kB / 386.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.007255, allocations: 29.38 kB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.007292, allocations: 52.25 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.007531, allocations: 294.8 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.007546, allocations: 8.172 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.007565, allocations: 12.38 kB / 387 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.007573, allocations: 15.94 kB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.007687, allocations: 115.8 kB / 387.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.008404, allocations: 0.9945 MB / 388.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.008598, allocations: 263.7 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.008671, allocations: 106.9 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.008688, allocations: 4 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.008704, allocations: 41.39 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.403e-06/0.008705, allocations: 0 / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001331/0.01004, allocations: 1.547 MB / 390 MB, free: 12.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01006, allocations: 118.7 kB / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.01015, allocations: 246.6 kB / 390.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.01016, allocations: 33.7 kB / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.01023, allocations: 244.1 kB / 390.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.0103, allocations: 214.2 kB / 390.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.01037, allocations: 95.95 kB / 391 MB, free: 11.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.01043, allocations: 0.5156 MB / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.01048, allocations: 49.27 kB / 391.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.01057, allocations: 186.7 kB / 391.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.01074, allocations: 279.5 kB / 392 MB, free: 10.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01075, allocations: 0 / 392 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003712/0.01112, allocations: 421 kB / 392.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01113, allocations: 4 kB / 392.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01114, allocations: 4 kB / 392.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01132, allocations: 123 kB / 392.5 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.01149, allocations: 95.83 kB / 392.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.01326, allocations: 6.263 MB / 398.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.01335, allocations: 16 kB / 398.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01337, allocations: 16 kB / 398.9 MB, free: 2.922 MB / 314.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 8.892e-05/0.01346, allocations: 196.5 kB / 399.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.01353, allocations: 47.81 kB / 399.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.01356, allocations: 41.81 kB / 399.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01357, allocations: 4 kB / 399.2 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.01357, allocations: 7.938 kB / 399.2 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01358, allocations: 3.984 kB / 399.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.01432, allocations: 1.122 MB / 400.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01433, allocations: 0 / 400.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.01451, allocations: 91.89 kB / 400.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.01464, allocations: 98.98 kB / 400.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01466, allocations: 16.19 kB / 400.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.0168, allocations: 5.326 MB / 405.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.01681, allocations: 11.86 kB / 405.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.01739, allocations: 0.8256 MB / 406.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.01742, allocations: 31.77 kB / 406.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.01745, allocations: 20 kB / 406.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.01757, allocations: 12 kB / 406.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.01763, allocations: 51.84 kB / 406.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01765, allocations: 16.03 kB / 406.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.083e-05/0.01771, allocations: 169.7 kB / 407 MB, free: 10.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01771, allocations: 0 / 407 MB, free: 10.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.0181, allocations: 120 kB / 407.1 MB, free: 10.26 MB / 330.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 9.091e-05/0.01819, allocations: 119 kB / 407.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.01882, allocations: 0.8118 MB / 408 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.01883, allocations: 4 kB / 408 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.01918, allocations: 0.6737 MB / 408.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01955, allocations: 70.41 kB / 408.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.02079, allocations: 0.9335 MB / 409.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.066e-05/0.02088, allocations: 126.3 kB / 409.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.02095, allocations: 35.27 kB / 409.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.02106, allocations: 122.2 kB / 410 MB, free: 7.184 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02107, allocations: 4 kB / 410 MB, free: 7.18 MB / 330.7 MB Notification: Performance of Templates: time 0.006363/0.02743, allocations: 4.912 MB / 414.9 MB, free: 2.324 MB / 330.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.330790259875357]