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.0012/0.0012, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00142/0.00142, allocations: 164.8 kB / 24.99 MB, free: 8.801 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.078/1.078, allocations: 177 MB / 205.2 MB, free: 5.578 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.2813/0.2813, allocations: 34.86 MB / 296.6 MB, free: 0.5742 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.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 1.312e-06/1.312e-06, allocations: 0 / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.85e-05, allocations: 6.25 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002048/0.002076, allocations: 1.698 MB / 380.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.002341, allocations: 103.6 kB / 380.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.002398, allocations: 4 kB / 380.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.002445, allocations: 19.8 kB / 380.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.00254, allocations: 39.69 kB / 380.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.002649, allocations: 23.97 kB / 380.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.002775, allocations: 131.3 kB / 380.7 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.002894, allocations: 33.08 kB / 380.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.002994, allocations: 71.88 kB / 380.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.003063, allocations: 35.89 kB / 380.9 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.003086, allocations: 8 kB / 380.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.003101, allocations: 15.94 kB / 380.9 MB, free: 260 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.003127, allocations: 23.91 kB / 380.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.003171, allocations: 47.91 kB / 381 MB, free: 188 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.003324, allocations: 75.73 kB / 381 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.003328, allocations: 0 / 381 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003329, allocations: 0 / 381 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.003333, allocations: 0 / 381 MB, free: 112 kB / 346.7 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.000412/0.003745, allocations: 440.5 kB / 381.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.003782, allocations: 8.031 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.003829, allocations: 20.89 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.003994, allocations: 144.4 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004006, allocations: 8.609 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.004038, allocations: 20.38 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.004191, allocations: 115.1 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.004206, allocations: 12.14 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.004219, allocations: 4.375 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004228, allocations: 8.312 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.004293, allocations: 43.89 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.004803, allocations: 0.5256 MB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.004907, allocations: 90.19 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.004938, allocations: 27.31 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.004946, allocations: 4.094 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.004969, allocations: 41.38 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.00497, allocations: 0 / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.005321, allocations: 141.2 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.005353, allocations: 77.11 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.005441, allocations: 189.8 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.005449, allocations: 29.64 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.005513, allocations: 162.6 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.005534, allocations: 39.73 kB / 383.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.005568, allocations: 31.38 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005673, allocations: 0.4884 MB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.005697, allocations: 12 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.005761, allocations: 107 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.005865, allocations: 140.7 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005868, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001749/0.006043, allocations: 160.7 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006057, allocations: 4 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.006063, allocations: 4 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.006226, allocations: 47.55 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.68e-05/0.006293, allocations: 19.98 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.007745, allocations: 3.464 MB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.007788, allocations: 7.953 kB / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.007796, allocations: 4 kB / 387.6 MB, free: 8.91 MB / 362.7 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 8.77e-05/0.007883, allocations: 180.4 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.007911, allocations: 12 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.007927, allocations: 8 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007929, allocations: 8 kB / 387.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007933, allocations: 4 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007936, allocations: 0 / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.008079, allocations: 152.5 kB / 388 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008081, allocations: 0 / 388 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.008139, allocations: 15.98 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.008219, allocations: 39.36 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.008228, allocations: 0 / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.009486, allocations: 3.449 MB / 391.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009487, allocations: 0 / 391.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.009704, allocations: 386.5 kB / 391.9 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.009712, allocations: 19.88 kB / 391.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.009721, allocations: 4 kB / 391.9 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.009771, allocations: 0 / 391.9 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.0098, allocations: 19.92 kB / 391.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.009804, allocations: 3.938 kB / 391.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.347e-05/0.009847, allocations: 135.2 kB / 392.1 MB, free: 4.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009847, allocations: 0 / 392.1 MB, free: 4.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.01008, allocations: 39.95 kB / 392.1 MB, free: 4.125 MB / 362.7 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 8.815e-05/0.01017, allocations: 91.25 kB / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.0105, allocations: 411.2 kB / 392.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0105, allocations: 0 / 392.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.01067, allocations: 371.3 kB / 393 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.01097, allocations: 28.47 kB / 393 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/0.01169, allocations: 390.7 kB / 393.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.01174, allocations: 71.83 kB / 393.4 MB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.01178, allocations: 8.969 kB / 393.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.0118, allocations: 20.38 kB / 393.5 MB, free: 2.617 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0118, allocations: 4 kB / 393.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of Templates: time 0.003465/0.01527, allocations: 1.686 MB / 395.1 MB, free: 0.9531 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.3744771189522]