Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001629/0.001629, allocations: 121 kB / 19.13 MB, free: 3.902 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.001917/0.001917, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.475/1.475, allocations: 227.4 MB / 252.3 MB, free: 52 kB / 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.2287/0.2287, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 85.58 kB / 490.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1439, allocations: 62.44 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003549/0.1475, allocations: 1.675 MB / 0.542 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.1479, allocations: 115.5 kB / 0.5421 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1481, allocations: 7.938 kB / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.177e-05/0.1481, allocations: 15.86 kB / 0.5421 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1483, allocations: 31.7 kB / 0.5421 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1485, allocations: 27.97 kB / 0.5421 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1487, allocations: 127.4 kB / 0.5423 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1489, allocations: 45.02 kB / 0.5423 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.149, allocations: 51.8 kB / 0.5424 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.1491, allocations: 43.8 kB / 0.5424 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1491, allocations: 8 kB / 0.5424 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.1491, allocations: 8 kB / 0.5424 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1492, allocations: 27.91 kB / 0.5424 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.1493, allocations: 55.73 kB / 0.5425 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1495, allocations: 127.5 kB / 0.5426 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1495, allocations: 0 / 0.5426 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1495, allocations: 4 kB / 0.5426 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1495, allocations: 0 / 0.5426 GB, free: 1.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006234/0.1502, allocations: 407.3 kB / 0.543 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1502, allocations: 12.03 kB / 0.543 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1503, allocations: 8.891 kB / 0.543 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1505, allocations: 196.2 kB / 0.5432 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1505, allocations: 8.609 kB / 0.5432 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1506, allocations: 12.38 kB / 0.5432 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1508, allocations: 133.5 kB / 0.5434 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1509, allocations: 8.125 kB / 0.5434 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1509, allocations: 11.94 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1509, allocations: 4 kB / 0.5434 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.151, allocations: 51.97 kB / 0.5434 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.1519, allocations: 0.5373 MB / 0.544 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1521, allocations: 81.23 kB / 0.544 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.1521, allocations: 33.8 kB / 0.5441 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1521, allocations: 11.81 kB / 0.5441 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1522, allocations: 34.56 kB / 0.5441 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1522, allocations: 4 kB / 0.5441 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006677/0.1529, allocations: 297.8 kB / 0.5444 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1529, allocations: 77.11 kB / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1531, allocations: 129.7 kB / 0.5446 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1531, allocations: 29.7 kB / 0.5446 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.1532, allocations: 123.9 kB / 0.5447 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1532, allocations: 31.73 kB / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.1533, allocations: 25.72 kB / 0.5448 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1535, allocations: 322.8 kB / 0.5451 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.1535, allocations: 31.92 kB / 0.5451 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.1536, allocations: 86.12 kB / 0.5452 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1538, allocations: 124.4 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1538, allocations: 4 kB / 0.5453 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002823/0.1541, allocations: 163.2 kB / 0.5455 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1541, allocations: 13.97 kB / 0.5455 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1541, allocations: 0 / 0.5455 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.1543, allocations: 41.64 kB / 0.5455 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.1544, allocations: 27.92 kB / 0.5456 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.1567, allocations: 2.743 MB / 0.5483 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.1568, allocations: 7.953 kB / 0.5483 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1568, allocations: 8 kB / 0.5483 GB, free: 11.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1569, allocations: 132.6 kB / 0.5484 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.157, allocations: 4 kB / 0.5484 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.157, allocations: 11.84 kB / 0.5484 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.157, allocations: 4 kB / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.157, allocations: 3.984 kB / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.157, allocations: 0 / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1573, allocations: 197.6 kB / 0.5486 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1573, allocations: 0 / 0.5486 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.1574, allocations: 23.92 kB / 0.5486 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.1575, allocations: 37.7 kB / 0.5487 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1576, allocations: 11.88 kB / 0.5487 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.1597, allocations: 2.726 MB / 0.5513 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1597, allocations: 3.938 kB / 0.5513 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1601, allocations: 316.4 kB / 0.5516 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.1601, allocations: 85.08 kB / 0.5517 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1602, allocations: 4 kB / 0.5517 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.1602, allocations: 4 kB / 0.5517 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.1603, allocations: 7.984 kB / 0.5517 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1603, allocations: 0 / 0.5517 GB, free: 7.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.1604, allocations: 95.28 kB / 0.5518 GB, free: 7.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1604, allocations: 0 / 0.5518 GB, free: 7.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.1607, allocations: 39.95 kB / 0.5519 GB, free: 7.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.1609, allocations: 95.23 kB / 0.552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.1614, allocations: 305.8 kB / 0.5523 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.1614, allocations: 4.062 kB / 0.5523 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1617, allocations: 261.3 kB / 0.5525 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1622, allocations: 36.36 kB / 0.5525 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.163, allocations: 498.1 kB / 0.553 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1634, allocations: 0.7084 MB / 0.5537 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1634, allocations: 11.44 kB / 0.5537 GB, free: 5.379 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1634, allocations: 0 / 0.5537 GB, free: 5.379 MB / 414.1 MB Notification: Performance of Templates: time 0.004676/0.1681, allocations: 2.442 MB / 0.5561 GB, free: 2.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 8.101704205968417]