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.001454/0.001454, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00146/0.00146, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.544/1.544, allocations: 177 MB / 204.1 MB, free: 9.156 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.2545/0.2545, allocations: 34.26 MB / 294.8 MB, free: 14.52 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 1.202e-06/1.202e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.373e-05, allocations: 2.281 kB / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004055/0.004079, allocations: 2.668 MB / 445.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005532, allocations: 0.7787 MB / 446.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.0057, allocations: 11.94 kB / 446.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.005887, allocations: 63.31 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.006146, allocations: 138.8 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.006474, allocations: 115.8 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.007009, allocations: 466.1 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.007273, allocations: 122.8 kB / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.007668, allocations: 267.4 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.007892, allocations: 139.5 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.007951, allocations: 36 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.008056, allocations: 47.92 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.008146, allocations: 87.66 kB / 447.6 MB, free: 368 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.008306, allocations: 139.7 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1956/0.2039, allocations: 457.3 kB / 448.1 MB, free: 16.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2039, allocations: 1.656 kB / 448.1 MB, free: 16.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2039, allocations: 0 / 448.1 MB, free: 16.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.2039, allocations: 0 / 448.1 MB, free: 16.18 MB / 366.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.00101/0.2049, allocations: 0.6063 MB / 448.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.205, allocations: 10.25 kB / 448.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.2053, allocations: 71.08 kB / 448.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2057, allocations: 241.5 kB / 449.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.2057, allocations: 26.41 kB / 449.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.2058, allocations: 39.84 kB / 449.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.2064, allocations: 383.5 kB / 449.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.2065, allocations: 8.141 kB / 449.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.2065, allocations: 17.61 kB / 449.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2065, allocations: 14.06 kB / 449.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.207, allocations: 246.6 kB / 449.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.2083, allocations: 0.9003 MB / 450.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.2089, allocations: 322.4 kB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2091, allocations: 165.4 kB / 451.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2091, allocations: 5.344 kB / 451.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2092, allocations: 41.75 kB / 451.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/0.2092, allocations: 1.812 kB / 451.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00338/0.2126, allocations: 2.011 MB / 453.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2126, allocations: 110.2 kB / 453.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2128, allocations: 195.5 kB / 453.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2128, allocations: 33.11 kB / 453.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2129, allocations: 196.5 kB / 453.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2131, allocations: 210.5 kB / 453.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2132, allocations: 83.77 kB / 454 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.2133, allocations: 344.4 kB / 454.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.2136, allocations: 128.8 kB / 454.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.214, allocations: 231.9 kB / 454.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.2147, allocations: 395.1 kB / 455.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2147, allocations: 1.188 kB / 455.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001172/0.2158, allocations: 0.545 MB / 455.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.2159, allocations: 16.2 kB / 455.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.2159, allocations: 6.828 kB / 455.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/0.2163, allocations: 126.7 kB / 455.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.2167, allocations: 95.53 kB / 455.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.2202, allocations: 4.8 MB / 460.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.2205, allocations: 24.8 kB / 460.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.2205, allocations: 18.86 kB / 460.7 MB, free: 7.711 MB / 366.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.0001837/0.2207, allocations: 174.2 kB / 460.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2208, allocations: 40.52 kB / 460.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/0.2209, allocations: 45.52 kB / 461 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2209, allocations: 8.562 kB / 461 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.2209, allocations: 7.5 kB / 461 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2209, allocations: 4.891 kB / 461 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.2227, allocations: 1.17 MB / 462.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2227, allocations: 4.328 kB / 462.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.2231, allocations: 96.66 kB / 462.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.2233, allocations: 98.19 kB / 462.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2234, allocations: 17.05 kB / 462.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.2257, allocations: 4.031 MB / 466.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2257, allocations: 2.375 kB / 466.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2269, allocations: 0.9155 MB / 467.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.227, allocations: 35.48 kB / 467.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.227, allocations: 13.11 kB / 467.4 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2273, allocations: 13.27 kB / 467.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2274, allocations: 53.84 kB / 467.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.2274, allocations: 17.89 kB / 467.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.2275, allocations: 144.4 kB / 467.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2275, allocations: 0 / 467.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.2283, allocations: 121.4 kB / 467.7 MB, free: 2.152 MB / 366.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.0001457/0.2284, allocations: 113.7 kB / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2298, allocations: 0.7532 MB / 468.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2298, allocations: 0 / 468.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.2305, allocations: 0.5614 MB / 469.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.2312, allocations: 62.53 kB / 469.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2328, allocations: 0.9605 MB / 470.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2331, allocations: 227.2 kB / 470.4 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2332, allocations: 33.02 kB / 470.4 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.2333, allocations: 32.78 kB / 470.5 MB, free: 384 kB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2333, allocations: 0 / 470.5 MB, free: 384 kB / 366.1 MB Notification: Performance of Templates: time 0.0115/0.2448, allocations: 4.369 MB / 474.8 MB, free: 15.84 MB / 382.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 -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/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.272449631243944]