Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 104.7 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 190.5 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2088/0.2088, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 71.33 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1121, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003855/0.116, allocations: 3.091 MB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1171, allocations: 414.5 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.1175, allocations: 11.94 kB / 444.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1177, allocations: 43.62 kB / 444.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.1182, allocations: 138.8 kB / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1185, allocations: 95.92 kB / 444.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.119, allocations: 0.5364 MB / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1193, allocations: 160.8 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1196, allocations: 195.3 kB / 445.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1198, allocations: 215 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.1199, allocations: 44 kB / 445.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.12, allocations: 40 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.12, allocations: 95.69 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1202, allocations: 250.9 kB / 446 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1206, allocations: 403.2 kB / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1206, allocations: 0 / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1206, allocations: 0 / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.1206, allocations: 0 / 446.3 MB, free: 1.645 MB / 318.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.000911/0.1215, allocations: 0.7135 MB / 447.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1216, allocations: 19.81 kB / 447.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.1217, allocations: 52.38 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.122, allocations: 295.4 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.122, allocations: 33.38 kB / 447.5 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.1221, allocations: 56.27 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.1227, allocations: 470.6 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.1227, allocations: 12.09 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1228, allocations: 19.94 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1228, allocations: 12 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1232, allocations: 260.9 kB / 448.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1256, allocations: 1.699 MB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1262, allocations: 415.5 kB / 450.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.1266, allocations: 159.6 kB / 450.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1266, allocations: 4 kB / 450.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.1266, allocations: 58.48 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 5.4e-06/0.1267, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007471/0.1274, allocations: 358 kB / 450.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.1276, allocations: 273.5 kB / 451.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1278, allocations: 254.8 kB / 451.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1279, allocations: 33.64 kB / 451.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.128, allocations: 243.6 kB / 451.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.1282, allocations: 177.5 kB / 451.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1284, allocations: 114.6 kB / 452 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1285, allocations: 346.8 kB / 452.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1287, allocations: 121.9 kB / 452.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1291, allocations: 413.6 kB / 452.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.1298, allocations: 0.5728 MB / 453.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1298, allocations: 4 kB / 453.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000888/0.1307, allocations: 0.5758 MB / 454 MB, free: 9.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.1308, allocations: 9.25 kB / 454 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.1308, allocations: 12 kB / 454 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.1308, allocations: 12 kB / 454.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.1314, allocations: 179.7 kB / 454.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.1314, allocations: 19.94 kB / 454.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.1317, allocations: 67.28 kB / 454.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.1318, allocations: 32 kB / 454.3 MB, free: 8.926 MB / 334.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.0002335/0.132, allocations: 197.6 kB / 454.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.1322, allocations: 35.62 kB / 454.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.1323, allocations: 41.7 kB / 454.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.1323, allocations: 11.94 kB / 454.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1324, allocations: 0 / 454.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.1324, allocations: 15.91 kB / 454.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1335, allocations: 409.2 kB / 455 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1335, allocations: 0 / 455 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.134, allocations: 123.9 kB / 455.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.1341, allocations: 4 kB / 455.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.1341, allocations: 23.92 kB / 455.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1341, allocations: 7.938 kB / 455.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1341, allocations: 4 kB / 455.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.1351, allocations: 1.071 MB / 456.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1353, allocations: 116.6 kB / 456.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.1353, allocations: 8 kB / 456.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.1358, allocations: 23.86 kB / 456.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1358, allocations: 27.97 kB / 456.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1359, allocations: 12 kB / 456.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.136, allocations: 178 kB / 456.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.136, allocations: 0 / 456.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008699/0.1369, allocations: 135.7 kB / 456.8 MB, free: 6.402 MB / 334.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.0002128/0.1371, allocations: 115.1 kB / 456.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.1378, allocations: 377.1 kB / 457.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1378, allocations: 0 / 457.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.138, allocations: 128.5 kB / 457.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1392, allocations: 97.44 kB / 457.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.1423, allocations: 2.169 MB / 459.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.1428, allocations: 0.8275 MB / 460.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.1429, allocations: 39.38 kB / 460.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1429, allocations: 0 / 460.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Templates: time 0.009958/0.1529, allocations: 5.021 MB / 465.5 MB, free: 13.57 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches