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.00105/0.00105, allocations: 110.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3264, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00404/0.3305, allocations: 3.072 MB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.3312, allocations: 418.8 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3314, allocations: 12.19 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3315, allocations: 69.92 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3318, allocations: 169.3 kB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3321, allocations: 97.12 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.3326, allocations: 0.5407 MB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.3329, allocations: 161.6 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.3331, allocations: 210.1 kB / 0.5363 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3334, allocations: 214.4 kB / 0.5365 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.3335, allocations: 40.97 kB / 0.5365 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.3335, allocations: 39.81 kB / 0.5365 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.3336, allocations: 93.44 kB / 0.5366 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.3339, allocations: 256 kB / 0.5369 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.3344, allocations: 0.5253 MB / 0.5374 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3344, allocations: 4 kB / 0.5374 GB, free: 9.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3344, allocations: 0.875 kB / 0.5374 GB, free: 9.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3344, allocations: 0 / 0.5374 GB, free: 9.234 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.0009633/0.3354, allocations: 0.7079 MB / 0.5381 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3354, allocations: 16.39 kB / 0.5381 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.3355, allocations: 55.34 kB / 0.5382 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.3359, allocations: 287.4 kB / 0.5384 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3359, allocations: 35.88 kB / 0.5385 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.336, allocations: 52.84 kB / 0.5385 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.3367, allocations: 462.2 kB / 0.539 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3367, allocations: 11.22 kB / 0.539 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.3368, allocations: 20.31 kB / 0.539 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.3368, allocations: 12.31 kB / 0.539 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.3372, allocations: 255.4 kB / 0.5392 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3395, allocations: 1.699 MB / 0.5409 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.34, allocations: 401.5 kB / 0.5413 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3402, allocations: 163.3 kB / 0.5414 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3403, allocations: 5.906 kB / 0.5414 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3403, allocations: 45.95 kB / 0.5415 GB, free: 5.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.3403, allocations: 5.156 kB / 0.5415 GB, free: 5.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007038/0.341, allocations: 365 kB / 0.5418 GB, free: 5.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3411, allocations: 266.4 kB / 0.5421 GB, free: 5.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3414, allocations: 251.5 kB / 0.5423 GB, free: 5.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3414, allocations: 40.3 kB / 0.5424 GB, free: 5.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3416, allocations: 244.9 kB / 0.5426 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3418, allocations: 179.2 kB / 0.5428 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3419, allocations: 115.9 kB / 0.5429 GB, free: 4.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3421, allocations: 350.6 kB / 0.5432 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3423, allocations: 122.2 kB / 0.5433 GB, free: 4.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.3426, allocations: 415.4 kB / 0.5437 GB, free: 3.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.3433, allocations: 0.5689 MB / 0.5443 GB, free: 3.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3433, allocations: 6.562 kB / 0.5443 GB, free: 3.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008296/0.3441, allocations: 0.5673 MB / 0.5449 GB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3441, allocations: 9.875 kB / 0.5449 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3442, allocations: 13.88 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.3442, allocations: 14.03 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.3448, allocations: 181 kB / 0.5451 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.3448, allocations: 26.66 kB / 0.5451 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.3451, allocations: 62.34 kB / 0.5451 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.3451, allocations: 36.56 kB / 0.5452 GB, free: 2.836 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.0002/0.3453, allocations: 182.1 kB / 0.5454 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.3455, allocations: 38.62 kB / 0.5454 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.3456, allocations: 41.83 kB / 0.5454 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3456, allocations: 3.031 kB / 0.5454 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3457, allocations: 10.48 kB / 0.5454 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.3457, allocations: 115.6 kB / 0.5456 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.3458, allocations: 9.906 kB / 0.5456 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.3462, allocations: 15.91 kB / 0.5456 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3463, allocations: 29.22 kB / 0.5456 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.3475, allocations: 1.074 MB / 0.5467 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009951/0.3485, allocations: 1.223 MB / 0.5479 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001682/0.3487, allocations: 123.9 kB / 0.548 GB, free: 256 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.3489, allocations: 174 kB / 0.5481 GB, free: 80 kB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.3489, allocations: 0 / 0.5481 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3502, allocations: 370.5 kB / 0.5485 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 0.003178/0.3534, allocations: 2.437 MB / 0.5509 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Templates: time 0.009363/0.3628, allocations: 4.83 MB / 0.5556 GB, free: 8.426 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