Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 115.1 kB / 18.46 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 215.2 kB / 21.42 MB, free: 1.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 14.88 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.91 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1368, allocations: 65.98 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004508/0.1413, allocations: 3.09 MB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00073/0.142, allocations: 414.5 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1421, allocations: 11.94 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1423, allocations: 71.3 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1426, allocations: 166.5 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1428, allocations: 103.9 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.1434, allocations: 0.5403 MB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.1436, allocations: 120.8 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1439, allocations: 203.3 kB / 0.5611 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1441, allocations: 219 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.1442, allocations: 40 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.1443, allocations: 40 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.1444, allocations: 95.69 kB / 0.5615 GB, free: 220 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1446, allocations: 254.9 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.1452, allocations: 0.5174 MB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1452, allocations: 0 / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1452, allocations: 3.984 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1452, allocations: 3.938 kB / 0.5622 GB, free: 15.43 MB / 430.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.001107/0.1463, allocations: 0.7246 MB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1464, allocations: 12.03 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1465, allocations: 56.61 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1468, allocations: 291.6 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.1469, allocations: 37.38 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.147, allocations: 56.31 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.1477, allocations: 458.7 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.1478, allocations: 8.141 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.1478, allocations: 23.94 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1478, allocations: 12 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.1483, allocations: 255.7 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1506, allocations: 1.7 MB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.1512, allocations: 387.7 kB / 0.5661 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1514, allocations: 159.6 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1514, allocations: 4 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.1515, allocations: 50.48 kB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 1.463e-06/0.1515, allocations: 0 / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007923/0.1523, allocations: 353.9 kB / 0.5667 GB, free: 10.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.1524, allocations: 277.4 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1527, allocations: 258.9 kB / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1528, allocations: 29.7 kB / 0.5672 GB, free: 9.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1529, allocations: 260.1 kB / 0.5674 GB, free: 9.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.1531, allocations: 190.4 kB / 0.5676 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1532, allocations: 110.6 kB / 0.5677 GB, free: 9.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1534, allocations: 346.8 kB / 0.5681 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1536, allocations: 121.9 kB / 0.5682 GB, free: 8.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.1541, allocations: 421.6 kB / 0.5686 GB, free: 8.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.1548, allocations: 0.5732 MB / 0.5691 GB, free: 7.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1548, allocations: 4 kB / 0.5691 GB, free: 7.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009265/0.1558, allocations: 0.5716 MB / 0.5697 GB, free: 7.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1558, allocations: 8 kB / 0.5697 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1558, allocations: 8 kB / 0.5697 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.39e-05/0.1558, allocations: 16 kB / 0.5697 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.1564, allocations: 179.7 kB / 0.5699 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.1565, allocations: 19.94 kB / 0.5699 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1567, allocations: 67.52 kB / 0.57 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.1568, allocations: 36.31 kB / 0.57 GB, free: 6.73 MB / 430.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.0002243/0.157, allocations: 187.8 kB / 0.5702 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.1572, allocations: 39.77 kB / 0.5702 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.1573, allocations: 45.69 kB / 0.5703 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1573, allocations: 7.938 kB / 0.5703 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1573, allocations: 7.938 kB / 0.5703 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1573, allocations: 4 kB / 0.5703 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.1584, allocations: 413.2 kB / 0.5707 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1584, allocations: 4 kB / 0.5707 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.159, allocations: 127.9 kB / 0.5708 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.159, allocations: 4 kB / 0.5708 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.159, allocations: 20.11 kB / 0.5708 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.159, allocations: 7.938 kB / 0.5709 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.159, allocations: 4 kB / 0.5709 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.16, allocations: 1.086 MB / 0.5719 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1601, allocations: 108.9 kB / 0.572 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.1601, allocations: 12 kB / 0.572 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.1605, allocations: 11.94 kB / 0.572 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1606, allocations: 35.89 kB / 0.5721 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1606, allocations: 12 kB / 0.5721 GB, free: 4.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1608, allocations: 174 kB / 0.5723 GB, free: 4.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1608, allocations: 0 / 0.5723 GB, free: 4.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008499/0.1616, allocations: 143.7 kB / 0.5724 GB, free: 4.203 MB / 430.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.0002116/0.1618, allocations: 115.2 kB / 0.5725 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.1624, allocations: 329.5 kB / 0.5728 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1624, allocations: 0 / 0.5728 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1626, allocations: 127.8 kB / 0.5729 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.1638, allocations: 105.4 kB / 0.573 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.1668, allocations: 2.023 MB / 0.575 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.1674, allocations: 0.8236 MB / 0.5758 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.1675, allocations: 39.44 kB / 0.5759 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1675, allocations: 0 / 0.5759 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of Templates: time 0.0087/0.1762, allocations: 5.122 MB / 0.5809 GB, free: 11.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.464051401999313]