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.00193/0.00193, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001987/0.001987, allocations: 160.8 kB / 24.27 MB, free: 152 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 1.551/1.551, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3505/0.3505, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 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 1.874e-06/1.874e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.416e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005723/0.005757, allocations: 2.844 MB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.007731, allocations: 0.775 MB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.008041, allocations: 11.94 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.008297, allocations: 63.31 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.008702, allocations: 138.8 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.009114, allocations: 119.8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.009756, allocations: 470.1 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.01006, allocations: 126.7 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.01057, allocations: 267.4 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.01086, allocations: 147.6 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.01094, allocations: 36 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.01105, allocations: 36 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.01115, allocations: 91.59 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.01134, allocations: 135.7 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.01199, allocations: 466.4 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01199, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01199, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.01201, allocations: 4 kB / 382.9 MB, free: 13.2 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.001261/0.01327, allocations: 0.718 MB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.01332, allocations: 12.03 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.01373, allocations: 96.62 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.01417, allocations: 247.8 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.01421, allocations: 37.31 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.01428, allocations: 44.33 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.01503, allocations: 398.1 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.01506, allocations: 8.141 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.0151, allocations: 16.38 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.01512, allocations: 11.94 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.0158, allocations: 223.8 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01776, allocations: 1.131 MB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.01841, allocations: 361 kB / 386.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.01873, allocations: 167 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.01877, allocations: 11.98 kB / 386.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.01881, allocations: 45.33 kB / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.01881, allocations: 0 / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004219/0.02303, allocations: 2.071 MB / 388.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.02312, allocations: 106.8 kB / 388.6 MB, free: 7.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.02341, allocations: 286.7 kB / 388.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.02345, allocations: 33.7 kB / 388.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.02365, allocations: 244.2 kB / 389.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.02385, allocations: 222.2 kB / 389.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.02403, allocations: 108 kB / 389.4 MB, free: 6.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003127/0.02434, allocations: 0.5313 MB / 390 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.02462, allocations: 121.2 kB / 390.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.02502, allocations: 270.7 kB / 390.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.02576, allocations: 436 kB / 390.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.02576, allocations: 3.938 kB / 390.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001198/0.02696, allocations: 0.5856 MB / 391.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.02699, allocations: 11.94 kB / 391.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.027, allocations: 4 kB / 391.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.02762, allocations: 138.9 kB / 391.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.02801, allocations: 95.97 kB / 391.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/0.0344, allocations: 6.675 MB / 398.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.03475, allocations: 19.98 kB / 398.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.03478, allocations: 16 kB / 398.3 MB, free: 12.84 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.0003499/0.03513, allocations: 208.5 kB / 398.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.03528, allocations: 63.73 kB / 398.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.03559, allocations: 45.8 kB / 398.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.0356, allocations: 8 kB / 398.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.03562, allocations: 4 kB / 398.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.03563, allocations: 3.984 kB / 398.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.03804, allocations: 1.406 MB / 400 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.03805, allocations: 4 kB / 400 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.03847, allocations: 87.89 kB / 400.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.03882, allocations: 106.9 kB / 400.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.03885, allocations: 16.09 kB / 400.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.04383, allocations: 5.636 MB / 405.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.04383, allocations: 4 kB / 405.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.04547, allocations: 1.089 MB / 407 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.04554, allocations: 23.81 kB / 407 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.04559, allocations: 12 kB / 407 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.04584, allocations: 12 kB / 407 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.04597, allocations: 55.88 kB / 407.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.046, allocations: 19.94 kB / 407.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.04618, allocations: 189.8 kB / 407.3 MB, free: 3.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04618, allocations: 0 / 407.3 MB, free: 3.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007595/0.04694, allocations: 123.9 kB / 407.4 MB, free: 3.242 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.0001655/0.0471, allocations: 115.2 kB / 407.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.04875, allocations: 0.9544 MB / 408.5 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04875, allocations: 0 / 408.5 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.04979, allocations: 0.76 MB / 409.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.05045, allocations: 58.34 kB / 409.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.05237, allocations: 1.014 MB / 410.3 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.05266, allocations: 213 kB / 410.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.05279, allocations: 39.25 kB / 410.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.05287, allocations: 28.5 kB / 410.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.05287, allocations: 0 / 410.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.01186/0.06473, allocations: 4.453 MB / 415 MB, free: 11.46 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","/var/lib/jenkins/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.163020109059289]