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.001254/0.001254, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001863/0.001863, allocations: 161.4 kB / 24.82 MB, free: 8.867 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 1.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.43 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.2787/0.2787, allocations: 34.86 MB / 296.6 MB, free: 440 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 1.934e-06/1.934e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.8e-05, allocations: 2.312 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004482/0.00451, allocations: 2.843 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005921, allocations: 0.7865 MB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.006114, allocations: 15.88 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.006282, allocations: 63.38 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.006546, allocations: 130.8 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.006929, allocations: 123.7 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.00746, allocations: 474.1 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.007716, allocations: 122.8 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.008118, allocations: 267.4 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.008326, allocations: 143.6 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.008366, allocations: 36 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.008439, allocations: 39.94 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.008484, allocations: 87.66 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.008573, allocations: 139.7 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.008878, allocations: 302.8 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.008883, allocations: 0 / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008884, allocations: 4 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.008889, allocations: 0 / 384.8 MB, free: 12.23 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.0007169/0.009606, allocations: 0.7064 MB / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.009652, allocations: 8.031 kB / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.00986, allocations: 100.6 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.01009, allocations: 247.8 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01011, allocations: 29.38 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.01015, allocations: 44.38 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.01044, allocations: 302.7 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01045, allocations: 8.141 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01048, allocations: 16.38 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01049, allocations: 11.94 kB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01061, allocations: 111.8 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01164, allocations: 0.9867 MB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.0119, allocations: 261.4 kB / 387.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.01199, allocations: 103.2 kB / 387.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.01202, allocations: 12 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01204, allocations: 41.33 kB / 387.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.192e-06/0.01204, allocations: 4 kB / 387.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001668/0.01371, allocations: 1.561 MB / 389.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.01376, allocations: 106.8 kB / 389.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.01389, allocations: 250.6 kB / 389.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.0139, allocations: 33.7 kB / 389.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01401, allocations: 248.1 kB / 389.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.0141, allocations: 198.2 kB / 390.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.01449, allocations: 91.95 kB / 390.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01461, allocations: 0.5156 MB / 390.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.01467, allocations: 49.27 kB / 390.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01479, allocations: 194.6 kB / 390.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.015, allocations: 279.9 kB / 391.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01501, allocations: 4 kB / 391.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003972/0.0154, allocations: 419.8 kB / 391.6 MB, free: 4.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01542, allocations: 4 kB / 391.6 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01543, allocations: 4 kB / 391.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.01563, allocations: 123 kB / 391.8 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.01581, allocations: 87.89 kB / 391.8 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.019, allocations: 6.263 MB / 398.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01912, allocations: 24.09 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01913, allocations: 16 kB / 398.2 MB, free: 13.93 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.0001318/0.01926, allocations: 188.4 kB / 398.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.01933, allocations: 51.77 kB / 398.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.01937, allocations: 41.81 kB / 398.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01938, allocations: 4 kB / 398.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.01939, allocations: 7.938 kB / 398.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.0194, allocations: 15.92 kB / 398.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.02034, allocations: 1.114 MB / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02035, allocations: 0 / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.02054, allocations: 99.81 kB / 399.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.0207, allocations: 87.09 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.02071, allocations: 12 kB / 399.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.02328, allocations: 5.345 MB / 405.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02328, allocations: 3.938 kB / 405.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.02386, allocations: 0.8335 MB / 405.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.02389, allocations: 27.81 kB / 406 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.02392, allocations: 15.94 kB / 406 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.02404, allocations: 16.05 kB / 406 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.02412, allocations: 51.86 kB / 406.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.02413, allocations: 12 kB / 406.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.0242, allocations: 169.7 kB / 406.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0242, allocations: 3.938 kB / 406.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.02472, allocations: 124 kB / 406.4 MB, free: 5.254 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.0001354/0.02485, allocations: 111.2 kB / 406.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007072/0.02556, allocations: 0.8055 MB / 407.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02556, allocations: 192 / 407.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.02595, allocations: 0.6815 MB / 407.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.02635, allocations: 65.08 kB / 408 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.0276, allocations: 0.9451 MB / 409 MB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.0277, allocations: 122.4 kB / 409.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.02779, allocations: 39.25 kB / 409.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.02791, allocations: 122.2 kB / 409.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02791, allocations: 0 / 409.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of Templates: time 0.00775/0.03566, allocations: 4.792 MB / 414 MB, free: 13.44 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.4364101351238787]