Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 109.1 kB / 21.18 MB, free: 0.7656 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.00159/0.00159, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.332/1.332, allocations: 230.5 MB / 258.1 MB, free: 7.98 MB / 206.1 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.2065/0.2065, allocations: 46.92 MB / 361.5 MB, free: 4.168 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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 79.88 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2719, allocations: 66.08 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00387/0.2758, allocations: 3.099 MB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.2765, allocations: 414.5 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2766, allocations: 11.94 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2767, allocations: 63.31 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.277, allocations: 166.5 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2772, allocations: 99.88 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.2777, allocations: 0.5442 MB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2779, allocations: 113.2 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.2781, allocations: 211.3 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.2784, allocations: 223 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.2784, allocations: 40 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.2785, allocations: 43.94 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.2786, allocations: 99.61 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.2788, allocations: 246.9 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.2793, allocations: 0.5236 MB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2793, allocations: 0 / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2793, allocations: 0 / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2793, allocations: 0 / 0.5677 GB, free: 14.36 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009375/0.2803, allocations: 0.6571 MB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2803, allocations: 8.031 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.2804, allocations: 56.61 kB / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.2807, allocations: 230.7 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2807, allocations: 37.38 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.2808, allocations: 52.33 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.2814, allocations: 458.7 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.2815, allocations: 12.08 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.2815, allocations: 23.94 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2815, allocations: 12 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2819, allocations: 259.7 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.284, allocations: 1.648 MB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.2845, allocations: 399.4 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2847, allocations: 148.2 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2847, allocations: 11.92 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2847, allocations: 50.48 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.2847, allocations: 0 / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006833/0.2854, allocations: 357.9 kB / 0.5719 GB, free: 9.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.2856, allocations: 269.5 kB / 0.5722 GB, free: 9.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.2858, allocations: 254.1 kB / 0.5724 GB, free: 9.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2858, allocations: 33.7 kB / 0.5725 GB, free: 9.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.286, allocations: 248.2 kB / 0.5727 GB, free: 8.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.2861, allocations: 190.4 kB / 0.5729 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2862, allocations: 114.6 kB / 0.573 GB, free: 8.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2864, allocations: 346.8 kB / 0.5733 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.2866, allocations: 121.9 kB / 0.5735 GB, free: 8.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.287, allocations: 426.1 kB / 0.5739 GB, free: 7.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.2876, allocations: 0.5723 MB / 0.5744 GB, free: 6.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2876, allocations: 0 / 0.5744 GB, free: 6.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007911/0.2884, allocations: 0.5679 MB / 0.575 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2885, allocations: 14.03 kB / 0.575 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2885, allocations: 8.078 kB / 0.575 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.2885, allocations: 16 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.289, allocations: 183.6 kB / 0.5752 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.289, allocations: 23.92 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2893, allocations: 71.81 kB / 0.5753 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.2893, allocations: 36 kB / 0.5753 GB, free: 5.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.2895, allocations: 186.9 kB / 0.5755 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.2897, allocations: 35.77 kB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.2898, allocations: 45.7 kB / 0.5756 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2898, allocations: 7.938 kB / 0.5756 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2898, allocations: 4 kB / 0.5756 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.2898, allocations: 3.984 kB / 0.5756 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.2907, allocations: 384.3 kB / 0.5759 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2907, allocations: 7.984 kB / 0.576 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.2913, allocations: 123.9 kB / 0.5761 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.2913, allocations: 11.97 kB / 0.5761 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2913, allocations: 12 kB / 0.5761 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.2913, allocations: 16 kB / 0.5761 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2913, allocations: 4 kB / 0.5761 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.2921, allocations: 1.09 MB / 0.5772 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.2922, allocations: 31.75 kB / 0.5772 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2922, allocations: 15.98 kB / 0.5772 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.2926, allocations: 11.94 kB / 0.5772 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.2927, allocations: 31.95 kB / 0.5773 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2927, allocations: 8 kB / 0.5773 GB, free: 3.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.2928, allocations: 177.2 kB / 0.5774 GB, free: 3.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2928, allocations: 0 / 0.5774 GB, free: 3.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007399/0.2936, allocations: 139.7 kB / 0.5776 GB, free: 3.457 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.2937, allocations: 118.9 kB / 0.5777 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.2942, allocations: 329.4 kB / 0.578 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2942, allocations: 4.125 kB / 0.578 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2944, allocations: 123.8 kB / 0.5781 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.2955, allocations: 105.7 kB / 0.5782 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.2982, allocations: 2.014 MB / 0.5802 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.2988, allocations: 0.8274 MB / 0.581 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.2989, allocations: 43.42 kB / 0.581 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2989, allocations: 0 / 0.581 GB, free: 15.82 MB / 430.1 MB Notification: Performance of Templates: time 0.007384/0.3062, allocations: 5.134 MB / 0.5861 GB, free: 10.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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: 7.243057243991643]