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.001294/0.001294, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001452/0.001452, allocations: 213.2 kB / 22.99 MB, free: 5.609 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.502/1.502, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.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.2314/0.2314, allocations: 46.9 MB / 359.4 MB, free: 4.887 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002979/0.002979, allocations: 79.86 kB / 0.4946 GB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3764, allocations: 65.99 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004998/0.3814, allocations: 2.878 MB / 0.5619 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3831, allocations: 0.8101 MB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.3833, allocations: 11.94 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3835, allocations: 67.31 kB / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.3838, allocations: 122.9 kB / 0.5629 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.3842, allocations: 119.7 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.3847, allocations: 458.3 kB / 0.5634 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.385, allocations: 138.1 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3853, allocations: 179.3 kB / 0.5637 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3856, allocations: 187.2 kB / 0.5639 GB, free: 104 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.3856, allocations: 32 kB / 0.5639 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.3857, allocations: 44 kB / 0.564 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.3858, allocations: 91.7 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.386, allocations: 202.9 kB / 0.5643 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.3865, allocations: 456.4 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3865, allocations: 0 / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.3865, allocations: 4 kB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3866, allocations: 0 / 0.5647 GB, free: 15.29 MB / 414.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.001051/0.3876, allocations: 0.6885 MB / 0.5654 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3876, allocations: 8.031 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.388, allocations: 72.62 kB / 0.5654 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3884, allocations: 311.3 kB / 0.5657 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3884, allocations: 29.38 kB / 0.5658 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.3885, allocations: 44.38 kB / 0.5658 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.3891, allocations: 381.3 kB / 0.5662 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3892, allocations: 3.953 kB / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3892, allocations: 16 kB / 0.5662 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3892, allocations: 12 kB / 0.5662 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.3897, allocations: 251.8 kB / 0.5664 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.3914, allocations: 1.101 MB / 0.5675 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.392, allocations: 331.4 kB / 0.5678 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3923, allocations: 158.5 kB / 0.568 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.3923, allocations: 11.98 kB / 0.568 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3923, allocations: 30.56 kB / 0.568 GB, free: 11.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.834e-06/0.3923, allocations: 0 / 0.568 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003982/0.3963, allocations: 2.459 MB / 0.5704 GB, free: 8.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.3964, allocations: 110.8 kB / 0.5705 GB, free: 8.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3967, allocations: 246.7 kB / 0.5708 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.3967, allocations: 37.7 kB / 0.5708 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3969, allocations: 184.9 kB / 0.571 GB, free: 8.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.397, allocations: 210.2 kB / 0.5712 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3972, allocations: 82.27 kB / 0.5713 GB, free: 8.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3974, allocations: 354.7 kB / 0.5716 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3976, allocations: 133 kB / 0.5717 GB, free: 7.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.398, allocations: 231.8 kB / 0.5719 GB, free: 7.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.3986, allocations: 398 kB / 0.5723 GB, free: 6.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3986, allocations: 3.938 kB / 0.5723 GB, free: 6.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.3997, allocations: 0.5539 MB / 0.5729 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3997, allocations: 4 kB / 0.5729 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3997, allocations: 4 kB / 0.5729 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.4001, allocations: 130.5 kB / 0.573 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.4005, allocations: 95.88 kB / 0.5731 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.4054, allocations: 5.218 MB / 0.5782 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4056, allocations: 19.98 kB / 0.5782 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.4057, allocations: 28 kB / 0.5782 GB, free: 392 kB / 414.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.0002364/0.4059, allocations: 161.8 kB / 0.5784 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.406, allocations: 35.77 kB / 0.5784 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.4061, allocations: 50.17 kB / 0.5785 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4061, allocations: 4 kB / 0.5785 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.4061, allocations: 7.938 kB / 0.5785 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4062, allocations: 7.984 kB / 0.5785 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.4083, allocations: 1.323 MB / 0.5798 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4083, allocations: 4 kB / 0.5798 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.4087, allocations: 95.88 kB / 0.5799 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.409, allocations: 102.5 kB / 0.58 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.409, allocations: 16.12 kB / 0.58 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.4128, allocations: 4.427 MB / 0.5843 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4128, allocations: 3.984 kB / 0.5843 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4142, allocations: 0.9253 MB / 0.5852 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4143, allocations: 112.9 kB / 0.5853 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.4143, allocations: 20.11 kB / 0.5853 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4146, allocations: 8 kB / 0.5854 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4147, allocations: 55.81 kB / 0.5854 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4147, allocations: 16 kB / 0.5854 GB, free: 8.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.4149, allocations: 182 kB / 0.5856 GB, free: 8.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 0.5856 GB, free: 8.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.4156, allocations: 116 kB / 0.5857 GB, free: 8.16 MB / 430.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.0001436/0.4158, allocations: 111.2 kB / 0.5858 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.4171, allocations: 0.7497 MB / 0.5865 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4171, allocations: 4.188 kB / 0.5866 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.4179, allocations: 0.5645 MB / 0.5871 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.4186, allocations: 68.38 kB / 0.5872 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4207, allocations: 1.101 MB / 0.5882 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.4213, allocations: 0.8202 MB / 0.589 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.4214, allocations: 39.25 kB / 0.5891 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.4215, allocations: 27.44 kB / 0.5891 GB, free: 4.531 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4215, allocations: 4 kB / 0.5891 GB, free: 4.527 MB / 430.1 MB Notification: Performance of Templates: time 0.01054/0.4321, allocations: 4.769 MB / 0.5938 GB, free: 15.77 MB / 446.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.0.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.5964432787150145]