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.001456/0.001456, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00181/0.00181, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2565/0.2565, allocations: 46.94 MB / 360.8 MB, free: 3.926 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 0.002335/0.002335, allocations: 83.88 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3698, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004609/0.3744, allocations: 2.645 MB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.376, allocations: 0.7712 MB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.3762, allocations: 11.94 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3765, allocations: 67.31 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.3767, allocations: 126.8 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.3771, allocations: 119.8 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.3776, allocations: 450.3 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.3779, allocations: 134.7 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.3782, allocations: 187.3 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3785, allocations: 159.2 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.3785, allocations: 36 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3786, allocations: 36 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.3787, allocations: 87.67 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.3789, allocations: 175.1 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.3795, allocations: 464.4 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3795, allocations: 0 / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3795, allocations: 4 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3795, allocations: 0 / 0.5665 GB, free: 14.52 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.001137/0.3807, allocations: 0.6027 MB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3807, allocations: 8.031 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.3811, allocations: 76.62 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.3816, allocations: 241.6 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.3816, allocations: 29.38 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.3817, allocations: 40.38 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.3824, allocations: 389.3 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.3824, allocations: 7.953 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3825, allocations: 16 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3825, allocations: 8 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.383, allocations: 247.8 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3847, allocations: 0.9152 MB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.3853, allocations: 319.5 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.3856, allocations: 166.4 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.3856, allocations: 4 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3856, allocations: 38.56 kB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/0.3856, allocations: 0 / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003917/0.3896, allocations: 2.011 MB / 0.5714 GB, free: 9.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.3896, allocations: 110.8 kB / 0.5715 GB, free: 8.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3899, allocations: 194.2 kB / 0.5717 GB, free: 8.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3899, allocations: 33.7 kB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.39, allocations: 201.3 kB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.3902, allocations: 210.2 kB / 0.5722 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3903, allocations: 82.36 kB / 0.5722 GB, free: 8.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3905, allocations: 350.7 kB / 0.5726 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.3908, allocations: 129.2 kB / 0.5727 GB, free: 7.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.3912, allocations: 228.8 kB / 0.5729 GB, free: 7.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.3918, allocations: 409.9 kB / 0.5733 GB, free: 7.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3918, allocations: 8 kB / 0.5733 GB, free: 7.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.3928, allocations: 0.5384 MB / 0.5738 GB, free: 6.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3929, allocations: 8 kB / 0.5738 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3929, allocations: 4 kB / 0.5738 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3933, allocations: 122.6 kB / 0.574 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.3937, allocations: 103.8 kB / 0.5741 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.3982, allocations: 4.804 MB / 0.5788 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3984, allocations: 19.98 kB / 0.5788 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.3985, allocations: 20 kB / 0.5788 GB, free: 1.129 MB / 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.0002366/0.3987, allocations: 182.5 kB / 0.579 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3988, allocations: 35.77 kB / 0.579 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.3989, allocations: 45.8 kB / 0.579 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3989, allocations: 8 kB / 0.5791 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3989, allocations: 4 kB / 0.5791 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3989, allocations: 3.984 kB / 0.5791 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.401, allocations: 1.182 MB / 0.5802 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.401, allocations: 0 / 0.5802 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.4014, allocations: 95.89 kB / 0.5803 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.4017, allocations: 94.5 kB / 0.5804 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4017, allocations: 15.98 kB / 0.5804 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/0.4052, allocations: 4.045 MB / 0.5844 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4052, allocations: 3.938 kB / 0.5844 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.4067, allocations: 0.9125 MB / 0.5853 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.4067, allocations: 31.8 kB / 0.5853 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.4068, allocations: 16 kB / 0.5853 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.407, allocations: 12 kB / 0.5853 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4071, allocations: 55.91 kB / 0.5854 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4072, allocations: 12.12 kB / 0.5854 GB, free: 9.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.4073, allocations: 144.5 kB / 0.5855 GB, free: 9.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 0.5855 GB, free: 9.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007336/0.408, allocations: 120 kB / 0.5856 GB, free: 9.723 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.0001494/0.4082, allocations: 115.2 kB / 0.5857 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4095, allocations: 0.7571 MB / 0.5865 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4095, allocations: 0 / 0.5865 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.4103, allocations: 0.5649 MB / 0.587 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.411, allocations: 60.98 kB / 0.5871 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.4129, allocations: 1.093 MB / 0.5882 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4131, allocations: 216.9 kB / 0.5884 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.4132, allocations: 35.27 kB / 0.5884 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.4133, allocations: 27.44 kB / 0.5884 GB, free: 6.711 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4133, allocations: 0 / 0.5884 GB, free: 6.711 MB / 430.1 MB Notification: Performance of Templates: time 0.01058/0.4239, allocations: 4.861 MB / 0.5932 GB, free: 1.891 MB / 430.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.454181959852576]