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) 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/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 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=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_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_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002102, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3282, allocations: 62.43 MB / 0.5316 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003722/0.332, allocations: 3.075 MB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.3327, allocations: 418.8 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.3329, allocations: 8.25 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.333, allocations: 70.17 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.3333, allocations: 160.4 kB / 0.5353 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3336, allocations: 102.9 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.3341, allocations: 0.544 MB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.3343, allocations: 162.7 kB / 0.5361 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3346, allocations: 212.7 kB / 0.5363 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.3349, allocations: 214.6 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.3349, allocations: 44.22 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.335, allocations: 40.5 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.3351, allocations: 89.7 kB / 0.5366 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.3353, allocations: 251.4 kB / 0.5369 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.3358, allocations: 0.5259 MB / 0.5374 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3358, allocations: 0 / 0.5374 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3358, allocations: 1.562 kB / 0.5374 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3358, allocations: 0 / 0.5374 GB, free: 9.43 MB / 398.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.000942/0.3368, allocations: 0.7108 MB / 0.5381 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3368, allocations: 9.375 kB / 0.5381 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.3369, allocations: 59.84 kB / 0.5381 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.3372, allocations: 290.9 kB / 0.5384 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3373, allocations: 32.84 kB / 0.5385 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.3373, allocations: 56.5 kB / 0.5385 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.338, allocations: 461.1 kB / 0.539 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3381, allocations: 12.44 kB / 0.539 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.3381, allocations: 23.84 kB / 0.539 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3382, allocations: 12.75 kB / 0.539 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.3386, allocations: 256.4 kB / 0.5392 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3406, allocations: 1.691 MB / 0.5409 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.3412, allocations: 410.8 kB / 0.5413 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3414, allocations: 159.5 kB / 0.5414 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3414, allocations: 8.094 kB / 0.5414 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3415, allocations: 52.12 kB / 0.5415 GB, free: 6.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.3415, allocations: 0 / 0.5415 GB, free: 6.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007477/0.3422, allocations: 352.3 kB / 0.5418 GB, free: 5.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.3423, allocations: 272 kB / 0.5421 GB, free: 5.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.3426, allocations: 255.2 kB / 0.5423 GB, free: 5.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3426, allocations: 32.08 kB / 0.5424 GB, free: 5.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3428, allocations: 244.9 kB / 0.5426 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3429, allocations: 183.1 kB / 0.5428 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.3431, allocations: 120 kB / 0.5429 GB, free: 4.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3432, allocations: 351.8 kB / 0.5432 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3434, allocations: 117.5 kB / 0.5433 GB, free: 4.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3438, allocations: 419.1 kB / 0.5437 GB, free: 3.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.3444, allocations: 0.5693 MB / 0.5443 GB, free: 3.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3444, allocations: 2.375 kB / 0.5443 GB, free: 3.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007992/0.3452, allocations: 0.5751 MB / 0.5449 GB, free: 3.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3452, allocations: 9.562 kB / 0.5449 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3452, allocations: 10.02 kB / 0.5449 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.3453, allocations: 18.06 kB / 0.5449 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.3458, allocations: 180.5 kB / 0.5451 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.3458, allocations: 26.12 kB / 0.5451 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.3461, allocations: 58.88 kB / 0.5451 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.3462, allocations: 36.47 kB / 0.5452 GB, free: 3.027 MB / 398.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.0001626/0.3463, allocations: 186.5 kB / 0.5454 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.3465, allocations: 35.34 kB / 0.5454 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.3466, allocations: 42.2 kB / 0.5454 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3466, allocations: 10.47 kB / 0.5454 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3466, allocations: 2.125 kB / 0.5454 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3466, allocations: 6.172 kB / 0.5454 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009335/0.3476, allocations: 420.1 kB / 0.5458 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3476, allocations: 2.5 kB / 0.5459 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.3481, allocations: 122.5 kB / 0.546 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3482, allocations: 7.906 kB / 0.546 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3482, allocations: 16.31 kB / 0.546 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3482, allocations: 11.88 kB / 0.546 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3482, allocations: 0 / 0.546 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.349, allocations: 1.085 MB / 0.5471 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.349, allocations: 112.7 kB / 0.5472 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.3491, allocations: 23.97 kB / 0.5472 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.3495, allocations: 11.94 kB / 0.5472 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3496, allocations: 27.97 kB / 0.5472 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3496, allocations: 16 kB / 0.5472 GB, free: 1.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3497, allocations: 170 kB / 0.5474 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3497, allocations: 4 kB / 0.5474 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.3505, allocations: 135.7 kB / 0.5475 GB, free: 0.7812 MB / 398.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.0001638/0.3507, allocations: 111.1 kB / 0.5476 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3512, allocations: 348.9 kB / 0.548 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3512, allocations: 0.75 kB / 0.548 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3513, allocations: 131.8 kB / 0.5481 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3525, allocations: 102.6 kB / 0.5482 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3549, allocations: 1.99 MB / 0.5501 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3553, allocations: 0.8313 MB / 0.551 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.3554, allocations: 35.44 kB / 0.551 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3554, allocations: 4 kB / 0.551 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Templates: time 0.006677/0.3621, allocations: 5.074 MB / 0.556 GB, free: 8.086 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches