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.002127/0.002127, allocations: 75.12 kB / 21.24 MB, free: 0.543 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.002298/0.002298, allocations: 161.7 kB / 24.5 MB, free: 3.719 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.537/1.537, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.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.2368/0.2368, allocations: 34.26 MB / 295.4 MB, free: 14.5 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.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.002364/0.002364, allocations: 83.86 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3151, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003052/0.3182, allocations: 2.828 MB / 0.5 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005558/0.3188, allocations: 414.3 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3189, allocations: 10.53 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.319, allocations: 67.08 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.3192, allocations: 168.4 kB / 0.5006 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3194, allocations: 105.5 kB / 0.5007 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3198, allocations: 0.5351 MB / 0.5013 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.32, allocations: 119 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3202, allocations: 210.8 kB / 0.5016 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3204, allocations: 186 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.3204, allocations: 38.56 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.3205, allocations: 40.94 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3205, allocations: 94.3 kB / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3207, allocations: 214.5 kB / 0.5021 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.321, allocations: 0.5219 MB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.321, allocations: 3.938 kB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.321, allocations: 0 / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.321, allocations: 4 kB / 0.5026 GB, free: 26.48 MB / 446.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.0007868/0.3218, allocations: 0.6531 MB / 0.5033 GB, free: 26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3219, allocations: 13.05 kB / 0.5033 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.3219, allocations: 53.92 kB / 0.5033 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3222, allocations: 228.2 kB / 0.5036 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3222, allocations: 36.31 kB / 0.5036 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.3223, allocations: 60.17 kB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.3228, allocations: 460.3 kB / 0.5041 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3228, allocations: 11.12 kB / 0.5041 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3228, allocations: 26.09 kB / 0.5041 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3229, allocations: 12.47 kB / 0.5041 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3232, allocations: 254.9 kB / 0.5044 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.3247, allocations: 1.5 MB / 0.5059 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3251, allocations: 404.5 kB / 0.5062 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3253, allocations: 148 kB / 0.5064 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3253, allocations: 6.094 kB / 0.5064 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3253, allocations: 48.03 kB / 0.5064 GB, free: 23.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.874e-06/0.3253, allocations: 0 / 0.5064 GB, free: 23.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006337/0.3259, allocations: 364.6 kB / 0.5068 GB, free: 23.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.326, allocations: 270.7 kB / 0.507 GB, free: 23.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3262, allocations: 253.3 kB / 0.5073 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3262, allocations: 36.77 kB / 0.5073 GB, free: 23.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.3263, allocations: 240.8 kB / 0.5075 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.3264, allocations: 195.4 kB / 0.5077 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3265, allocations: 115.9 kB / 0.5078 GB, free: 22.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.12e-05/0.3266, allocations: 348.4 kB / 0.5082 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3267, allocations: 114.6 kB / 0.5083 GB, free: 22.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.327, allocations: 416.9 kB / 0.5087 GB, free: 21.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3274, allocations: 0.5704 MB / 0.5092 GB, free: 21.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3274, allocations: 10.97 kB / 0.5092 GB, free: 21.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006706/0.3281, allocations: 0.5656 MB / 0.5098 GB, free: 21.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3281, allocations: 12 kB / 0.5098 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3282, allocations: 12.19 kB / 0.5098 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.3282, allocations: 16.06 kB / 0.5098 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.3287, allocations: 178.2 kB / 0.51 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3287, allocations: 20 kB / 0.51 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3289, allocations: 76.14 kB / 0.5101 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.329, allocations: 31.25 kB / 0.5101 GB, free: 20.98 MB / 446.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.0001433/0.3291, allocations: 181.6 kB / 0.5103 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3293, allocations: 36.81 kB / 0.5103 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.3294, allocations: 43.77 kB / 0.5104 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3294, allocations: 6.062 kB / 0.5104 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3294, allocations: 11.03 kB / 0.5104 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3294, allocations: 6.281 kB / 0.5104 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.3302, allocations: 310.3 kB / 0.5107 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3302, allocations: 3.156 kB / 0.5107 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.3307, allocations: 119.3 kB / 0.5108 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3307, allocations: 2.781 kB / 0.5108 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3307, allocations: 13.7 kB / 0.5108 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3307, allocations: 6.156 kB / 0.5108 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3307, allocations: 0 / 0.5108 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.3314, allocations: 1.087 MB / 0.5119 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.3314, allocations: 39.81 kB / 0.5119 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3314, allocations: 13.75 kB / 0.5119 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.3318, allocations: 6.969 kB / 0.512 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3319, allocations: 37.7 kB / 0.512 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3319, allocations: 16.69 kB / 0.512 GB, free: 19.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.332, allocations: 160.5 kB / 0.5122 GB, free: 19.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.332, allocations: 0 / 0.5122 GB, free: 19.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.3327, allocations: 139.8 kB / 0.5123 GB, free: 19.48 MB / 446.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.0001557/0.3329, allocations: 113.8 kB / 0.5124 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.3335, allocations: 336 kB / 0.5127 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3335, allocations: 384 / 0.5127 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3336, allocations: 127 kB / 0.5128 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3348, allocations: 111.8 kB / 0.513 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3373, allocations: 1.94 MB / 0.5148 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3376, allocations: 231.3 kB / 0.5151 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3378, allocations: 48.84 kB / 0.5151 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.3379, allocations: 32.22 kB / 0.5151 GB, free: 17.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3379, allocations: 0 / 0.5151 GB, free: 17.54 MB / 446.1 MB Notification: Performance of Templates: time 0.009103/0.347, allocations: 4.095 MB / 0.5191 GB, free: 17 MB / 446.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 -s ida -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: 5.2884916049661115]