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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001951/0.001951, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.89 MB / 361.3 MB, free: 4.477 MB / 286.1 MB " [Timeout remaining time 179] 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=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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 79.86 kB / 0.4971 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4227, allocations: 66.02 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005411/0.4281, allocations: 3.099 MB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.429, allocations: 406.5 kB / 0.5649 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.4291, allocations: 11.94 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.4293, allocations: 63.31 kB / 0.565 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.4296, allocations: 170.5 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4298, allocations: 103.9 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.4304, allocations: 0.5403 MB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.4306, allocations: 117.1 kB / 0.5659 GB, free: 128 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.4309, allocations: 211.3 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.4312, allocations: 219 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.4313, allocations: 40 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.992e-05/0.4313, allocations: 40 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.4314, allocations: 95.67 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.4317, allocations: 250.8 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007293/0.4324, allocations: 0.5237 MB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4324, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4324, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.4325, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.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.001191/0.4337, allocations: 0.6571 MB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4337, allocations: 8.031 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4338, allocations: 60.61 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.4342, allocations: 229.8 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.4342, allocations: 37.38 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.4343, allocations: 52.33 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.435, allocations: 458.7 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.4351, allocations: 12.12 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.4351, allocations: 27.88 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4351, allocations: 16 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.4356, allocations: 250.6 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.4381, allocations: 1.652 MB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.4387, allocations: 407.4 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4389, allocations: 147.7 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4389, allocations: 7.938 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.439, allocations: 42.56 kB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.439, allocations: 0 / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007597/0.4397, allocations: 358.1 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.4399, allocations: 273 kB / 0.5718 GB, free: 9.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4402, allocations: 258.1 kB / 0.572 GB, free: 9.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4402, allocations: 33.7 kB / 0.5721 GB, free: 9.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4404, allocations: 244.2 kB / 0.5723 GB, free: 9.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.4405, allocations: 194.4 kB / 0.5725 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.4407, allocations: 114.6 kB / 0.5726 GB, free: 8.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4409, allocations: 354.7 kB / 0.5729 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.4411, allocations: 121.9 kB / 0.573 GB, free: 8.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.4416, allocations: 421.6 kB / 0.5734 GB, free: 7.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.4424, allocations: 0.5698 MB / 0.574 GB, free: 7.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4424, allocations: 0 / 0.574 GB, free: 7.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000984/0.4434, allocations: 0.5674 MB / 0.5745 GB, free: 6.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4434, allocations: 14.03 kB / 0.5746 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4435, allocations: 8 kB / 0.5746 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.4435, allocations: 16 kB / 0.5746 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.4441, allocations: 184.2 kB / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.4441, allocations: 23.92 kB / 0.5748 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.4443, allocations: 67.52 kB / 0.5748 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.4444, allocations: 32 kB / 0.5749 GB, free: 6.27 MB / 414.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.0001995/0.4446, allocations: 186.9 kB / 0.5751 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.4448, allocations: 35.77 kB / 0.5751 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.4449, allocations: 45.7 kB / 0.5751 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.4449, allocations: 7.938 kB / 0.5751 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.4449, allocations: 7.984 kB / 0.5751 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4449, allocations: 0 / 0.5751 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4459, allocations: 392.3 kB / 0.5755 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4459, allocations: 4 kB / 0.5755 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.4465, allocations: 123.9 kB / 0.5756 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.4465, allocations: 4 kB / 0.5756 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4465, allocations: 12 kB / 0.5757 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4465, allocations: 7.938 kB / 0.5757 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4465, allocations: 7.938 kB / 0.5757 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4478, allocations: 1.091 MB / 0.5767 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.4479, allocations: 35.73 kB / 0.5768 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4479, allocations: 16 kB / 0.5768 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.4483, allocations: 15.94 kB / 0.5768 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.4484, allocations: 31.94 kB / 0.5768 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4484, allocations: 11.98 kB / 0.5768 GB, free: 4.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.4486, allocations: 173.2 kB / 0.577 GB, free: 4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4486, allocations: 0 / 0.577 GB, free: 4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008463/0.4494, allocations: 139.7 kB / 0.5771 GB, free: 3.863 MB / 414.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.000185/0.4496, allocations: 118.9 kB / 0.5773 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.4502, allocations: 349.7 kB / 0.5776 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4502, allocations: 0 / 0.5776 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4504, allocations: 119.8 kB / 0.5777 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4515, allocations: 95.94 kB / 0.5778 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.4546, allocations: 1.986 MB / 0.5797 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.4552, allocations: 0.8274 MB / 0.5805 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.4553, allocations: 48.16 kB / 0.5806 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.4554, allocations: 31.44 kB / 0.5806 GB, free: 220 kB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4554, allocations: 0 / 0.5806 GB, free: 220 kB / 414.1 MB Notification: Performance of Templates: time 0.009582/0.465, allocations: 4.536 MB / 0.585 GB, free: 11.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.650984006002545]