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.001582/0.001582, allocations: 82.59 kB / 21.43 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.00142/0.00142, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.035/1.035, allocations: 177 MB / 205.1 MB, free: 5.484 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.306/0.306, allocations: 34.87 MB / 296.6 MB, free: 464 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.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 2.665e-06/2.665e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.628e-05, allocations: 2.312 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002516/0.002552, allocations: 1.696 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.002871, allocations: 107.6 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.002942, allocations: 4 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.002989, allocations: 11.86 kB / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.003129, allocations: 47.64 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003259, allocations: 23.95 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003387, allocations: 131.3 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003518, allocations: 29.16 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.003632, allocations: 71.81 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.003714, allocations: 35.89 kB / 381.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.003747, allocations: 12 kB / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.003765, allocations: 8 kB / 381.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.003792, allocations: 23.91 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.003835, allocations: 43.91 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003985, allocations: 83.67 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.003989, allocations: 4 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00399, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003994, allocations: 0 / 381.5 MB, free: 15.5 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003994/0.004394, allocations: 432.4 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.004432, allocations: 12.02 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.004474, allocations: 20.89 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.004603, allocations: 140.4 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004614, allocations: 8.609 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.004644, allocations: 20.36 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004782, allocations: 107.2 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.004796, allocations: 4.141 kB / 382.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.004809, allocations: 8.344 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.004816, allocations: 4.375 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.00487, allocations: 39.84 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.005386, allocations: 0.5066 MB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.005475, allocations: 82.03 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.005501, allocations: 31.55 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005512, allocations: 4 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.005534, allocations: 33.39 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.005535, allocations: 0 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000329/0.005864, allocations: 136.8 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005899, allocations: 85.11 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.00599, allocations: 185.8 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.006, allocations: 25.7 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.006062, allocations: 166.6 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.006083, allocations: 35.73 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.006123, allocations: 39.34 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.00624, allocations: 0.4884 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.006259, allocations: 11.98 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.006316, allocations: 108.7 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/0.006405, allocations: 132.7 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.006408, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001652/0.006573, allocations: 149.1 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006586, allocations: 4 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.006598, allocations: 7.984 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.006728, allocations: 39.62 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.006782, allocations: 23.97 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.0083, allocations: 3.419 MB / 388 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.008345, allocations: 15.89 kB / 388 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.008351, allocations: 8 kB / 388 MB, free: 8.434 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 7.913e-05/0.00843, allocations: 168.5 kB / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.008458, allocations: 7.938 kB / 388.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.008475, allocations: 12 kB / 388.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008476, allocations: 4.094 kB / 388.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.008481, allocations: 0 / 388.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008484, allocations: 3.938 kB / 388.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.00863, allocations: 125.2 kB / 388.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008633, allocations: 0 / 388.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.00869, allocations: 19.92 kB / 388.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.492e-05/0.008765, allocations: 31.36 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.008773, allocations: 7.938 kB / 388.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.01009, allocations: 3.411 MB / 391.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01009, allocations: 0 / 391.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.01033, allocations: 390.5 kB / 392.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.01034, allocations: 11.89 kB / 392.2 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.01035, allocations: 3.938 kB / 392.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.01041, allocations: 8 kB / 392.2 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.01044, allocations: 7.984 kB / 392.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01044, allocations: 0 / 392.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.01049, allocations: 135.5 kB / 392.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01049, allocations: 0 / 392.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.01076, allocations: 35.95 kB / 392.4 MB, free: 3.766 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 0.0001094/0.01087, allocations: 103.2 kB / 392.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.0112, allocations: 406 kB / 392.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01121, allocations: 0 / 392.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.01138, allocations: 375.3 kB / 393.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.01168, allocations: 28.48 kB / 393.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01237, allocations: 405.7 kB / 393.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01243, allocations: 67.84 kB / 393.7 MB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.01247, allocations: 8.969 kB / 393.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.01254, allocations: 86.19 kB / 393.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01254, allocations: 0 / 393.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of Templates: time 0.003803/0.01634, allocations: 1.813 MB / 395.6 MB, free: 384 kB / 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.2531177289783955]