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.001398/0.001398, allocations: 108 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.8 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 62.43 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003931/0.1179, allocations: 3.115 MB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.1187, allocations: 410.5 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.1188, allocations: 11.94 kB / 483.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.119, allocations: 47.61 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1193, allocations: 146.8 kB / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1195, allocations: 83.94 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.1199, allocations: 0.5169 MB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.1202, allocations: 137.2 kB / 484.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1204, allocations: 183.3 kB / 484.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1206, allocations: 211 kB / 484.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.1207, allocations: 24 kB / 484.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.1208, allocations: 28 kB / 484.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1208, allocations: 83.67 kB / 484.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.121, allocations: 238.9 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1214, allocations: 387.3 kB / 485.5 MB, free: 132 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1214, allocations: 4 kB / 485.5 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1214, allocations: 0 / 485.5 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1214, allocations: 3.938 kB / 485.5 MB, free: 124 kB / 350.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.0009774/0.1224, allocations: 0.7097 MB / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1224, allocations: 16.88 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.1225, allocations: 48.38 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1228, allocations: 296.2 kB / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1228, allocations: 37.38 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.1229, allocations: 52.28 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.1236, allocations: 454.7 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.1236, allocations: 20.02 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1237, allocations: 23.94 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1237, allocations: 15.98 kB / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.1241, allocations: 255.6 kB / 487.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.1263, allocations: 1.703 MB / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1268, allocations: 415.6 kB / 489.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.127, allocations: 167.6 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1271, allocations: 8 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1271, allocations: 42.5 kB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.1271, allocations: 7.938 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006968/0.1278, allocations: 349.4 kB / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.1279, allocations: 269 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1282, allocations: 246.6 kB / 490.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1282, allocations: 37.7 kB / 490.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1284, allocations: 244.1 kB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1285, allocations: 193.3 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1286, allocations: 110.7 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1288, allocations: 346.8 kB / 491.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.129, allocations: 118 kB / 491.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1294, allocations: 413.6 kB / 492 MB, free: 9.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.13, allocations: 0.5693 MB / 492.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.13, allocations: 4 kB / 492.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007878/0.1308, allocations: 0.5759 MB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1308, allocations: 8 kB / 493.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1308, allocations: 12.09 kB / 493.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1309, allocations: 19.94 kB / 493.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.1314, allocations: 187.7 kB / 493.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.1314, allocations: 23.92 kB / 493.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.1317, allocations: 63.38 kB / 493.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1317, allocations: 32 kB / 493.5 MB, free: 7.406 MB / 366.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.0001793/0.1319, allocations: 181.5 kB / 493.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.1321, allocations: 39.62 kB / 493.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.1322, allocations: 45.7 kB / 493.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1322, allocations: 11.94 kB / 493.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1322, allocations: 4 kB / 493.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1322, allocations: 3.984 kB / 493.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.1332, allocations: 417.1 kB / 494.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1332, allocations: 0 / 494.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.1338, allocations: 123.9 kB / 494.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1338, allocations: 4 kB / 494.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.1338, allocations: 16 kB / 494.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1338, allocations: 11.88 kB / 494.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1338, allocations: 0 / 494.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.1347, allocations: 1.082 MB / 495.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.1347, allocations: 120.6 kB / 495.6 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.1348, allocations: 8 kB / 495.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.1352, allocations: 15.94 kB / 495.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1352, allocations: 27.97 kB / 495.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1353, allocations: 11.98 kB / 495.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1354, allocations: 170 kB / 495.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1354, allocations: 4 kB / 495.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007863/0.1362, allocations: 135.7 kB / 495.9 MB, free: 4.902 MB / 366.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.0001792/0.1364, allocations: 119.1 kB / 496 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.1369, allocations: 344.4 kB / 496.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1369, allocations: 4 kB / 496.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.1371, allocations: 125.2 kB / 496.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1383, allocations: 92.69 kB / 496.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.1411, allocations: 2.16 MB / 498.7 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1415, allocations: 0.828 MB / 499.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.1416, allocations: 35.44 kB / 499.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1416, allocations: 0 / 499.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of Templates: time 0.007493/0.1491, allocations: 5.023 MB / 0.4928 GB, free: 12.1 MB / 382.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