Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 196.1 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 226.6 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007943, allocations: 92.88 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2859/0.2859, allocations: 44.82 MB / 392.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003799, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002298/0.3063, allocations: 2.611 MB / 0.5184 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005845/0.3069, allocations: 414.5 kB / 0.5188 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.307, allocations: 5.688 kB / 0.5188 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.3071, allocations: 52.7 kB / 0.5189 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.3073, allocations: 144.1 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3075, allocations: 72.48 kB / 0.5191 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.3078, allocations: 0.5095 MB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.308, allocations: 124.1 kB / 0.5197 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3082, allocations: 174.1 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3084, allocations: 194.9 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.3084, allocations: 23.56 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.3085, allocations: 29.41 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.3085, allocations: 75.77 kB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3087, allocations: 240 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3089, allocations: 386.7 kB / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.309, allocations: 0 / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.309, allocations: 0 / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.309, allocations: 0 / 0.5208 GB, free: 33.93 MB / 378.7 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.0006735/0.3097, allocations: 0.6361 MB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3097, allocations: 13.81 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.3098, allocations: 52.78 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.31, allocations: 295.8 kB / 0.5217 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.31, allocations: 38.09 kB / 0.5218 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.3101, allocations: 53.84 kB / 0.5218 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.3106, allocations: 451.2 kB / 0.5223 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3107, allocations: 7 kB / 0.5223 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.3107, allocations: 25.78 kB / 0.5223 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3107, allocations: 19.62 kB / 0.5223 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.311, allocations: 256.8 kB / 0.5225 GB, free: 32.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3127, allocations: 1.705 MB / 0.5242 GB, free: 31.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.313, allocations: 410 kB / 0.5246 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3132, allocations: 159.5 kB / 0.5248 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3132, allocations: 16.62 kB / 0.5248 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3133, allocations: 44.47 kB / 0.5248 GB, free: 30.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.3133, allocations: 0 / 0.5248 GB, free: 30.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005923/0.3139, allocations: 352 kB / 0.5251 GB, free: 30.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.3139, allocations: 277.9 kB / 0.5254 GB, free: 30.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3141, allocations: 246 kB / 0.5256 GB, free: 30.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3141, allocations: 33.7 kB / 0.5257 GB, free: 30.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.3142, allocations: 242.6 kB / 0.5259 GB, free: 30.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.3143, allocations: 179.8 kB / 0.5261 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.3143, allocations: 15 kB / 0.5261 GB, free: 29.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.3144, allocations: 351 kB / 0.5264 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3146, allocations: 118.9 kB / 0.5265 GB, free: 29.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3148, allocations: 420.1 kB / 0.5269 GB, free: 29.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.3153, allocations: 0.5636 MB / 0.5275 GB, free: 28.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3153, allocations: 2.969 kB / 0.5275 GB, free: 28.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006324/0.3159, allocations: 0.5678 MB / 0.5281 GB, free: 28.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3159, allocations: 8.219 kB / 0.5281 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3159, allocations: 11.38 kB / 0.5281 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.316, allocations: 14.03 kB / 0.5281 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.3165, allocations: 177.7 kB / 0.5283 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3165, allocations: 29.88 kB / 0.5283 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3167, allocations: 64 kB / 0.5283 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.3168, allocations: 31.06 kB / 0.5284 GB, free: 28.27 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3169, allocations: 185.2 kB / 0.5286 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.3171, allocations: 42.53 kB / 0.5286 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.3172, allocations: 43.36 kB / 0.5286 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3172, allocations: 9.094 kB / 0.5286 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3172, allocations: 2.719 kB / 0.5286 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3172, allocations: 6.25 kB / 0.5287 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.318, allocations: 416.6 kB / 0.529 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.318, allocations: 3.062 kB / 0.5291 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.3185, allocations: 122.3 kB / 0.5292 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3185, allocations: 5.969 kB / 0.5292 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3186, allocations: 14.03 kB / 0.5292 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3186, allocations: 10.38 kB / 0.5292 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3186, allocations: 10.38 kB / 0.5292 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.3191, allocations: 1.074 MB / 0.5303 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3192, allocations: 111.9 kB / 0.5304 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.3192, allocations: 13.78 kB / 0.5304 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.3196, allocations: 14.81 kB / 0.5304 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3196, allocations: 28.62 kB / 0.5304 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3196, allocations: 11.56 kB / 0.5304 GB, free: 26.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.3197, allocations: 169.6 kB / 0.5306 GB, free: 26.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3198, allocations: 0 / 0.5306 GB, free: 26.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007273/0.3205, allocations: 136 kB / 0.5307 GB, free: 26.59 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.3206, allocations: 121.7 kB / 0.5308 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.321, allocations: 343.8 kB / 0.5312 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3211, allocations: 0 / 0.5312 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3212, allocations: 129.7 kB / 0.5313 GB, free: 26.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3223, allocations: 87.44 kB / 0.5314 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3245, allocations: 2.466 MB / 0.5338 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3247, allocations: 0.8248 MB / 0.5346 GB, free: 23.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.3248, allocations: 33.53 kB / 0.5346 GB, free: 23.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3248, allocations: 4 kB / 0.5346 GB, free: 23.72 MB / 378.7 MB Notification: Performance of Templates: time 0.00603/0.3309, allocations: 4.965 MB / 0.5395 GB, free: 23.24 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches