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.001098/0.001098, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001132/0.001132, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9751/0.9751, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2579/0.2579, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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 2.113e-06/2.113e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.372e-05, allocations: 2.875 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004989/0.005022, allocations: 3.069 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.006135, allocations: 414.5 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.006371, allocations: 11.94 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.006505, allocations: 71.3 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.006872, allocations: 178.4 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.007173, allocations: 103.8 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.007725, allocations: 0.5634 MB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.00797, allocations: 109.2 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.00836, allocations: 323.3 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.00859, allocations: 163.5 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.008656, allocations: 40 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.008726, allocations: 40 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.008793, allocations: 95.66 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.008956, allocations: 175.6 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.009357, allocations: 354.6 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.009361, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.009363, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.009372, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 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.0007958/0.01017, allocations: 0.7493 MB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.01021, allocations: 12.03 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.01335, allocations: 88.66 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.01362, allocations: 237.2 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.01365, allocations: 37.38 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.01372, allocations: 56.31 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.01422, allocations: 400.1 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.01424, allocations: 12.14 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.01428, allocations: 24.38 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.01429, allocations: 12.38 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.01457, allocations: 181.2 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/0.01955, allocations: 1.912 MB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.01999, allocations: 423.7 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.02014, allocations: 149.1 kB / 388.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.02016, allocations: 16.48 kB / 388.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.02019, allocations: 49.33 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.02019, allocations: 0 / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006239/0.02082, allocations: 317.9 kB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.02091, allocations: 265.5 kB / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.02112, allocations: 304.3 kB / 389.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.02114, allocations: 33.7 kB / 389.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.02128, allocations: 294.9 kB / 389.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.02139, allocations: 182.5 kB / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.02151, allocations: 124.3 kB / 390.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.02165, allocations: 0.5195 MB / 390.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.02178, allocations: 69.95 kB / 390.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.0221, allocations: 0.4891 MB / 391.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.02569, allocations: 0.6106 MB / 391.9 MB, free: 4.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.0257, allocations: 8 kB / 391.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007376/0.02644, allocations: 0.5053 MB / 392.4 MB, free: 3.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.02647, allocations: 12 kB / 392.4 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.02648, allocations: 9.109 kB / 392.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.02651, allocations: 16 kB / 392.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.027, allocations: 187.7 kB / 392.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.02702, allocations: 19.92 kB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.02727, allocations: 67.52 kB / 392.7 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.0273, allocations: 32 kB / 392.8 MB, free: 3.195 MB / 362.7 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.0001569/0.02746, allocations: 212.2 kB / 393 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.02764, allocations: 51.81 kB / 393 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.02771, allocations: 37.77 kB / 393.1 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.02772, allocations: 8 kB / 393.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.02772, allocations: 4 kB / 393.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.02773, allocations: 4 kB / 393.1 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.03179, allocations: 304.2 kB / 393.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0318, allocations: 0 / 393.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.03222, allocations: 123.9 kB / 393.5 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.03223, allocations: 4 kB / 393.5 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.03226, allocations: 16 kB / 393.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.03227, allocations: 7.938 kB / 393.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.03227, allocations: 0 / 393.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.03302, allocations: 1.43 MB / 394.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.03307, allocations: 43.62 kB / 395 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.03312, allocations: 16 kB / 395 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.03349, allocations: 8 kB / 395 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.03353, allocations: 31.89 kB / 395 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.03355, allocations: 15.98 kB / 395.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.03368, allocations: 193.1 kB / 395.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03368, allocations: 0 / 395.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003888/0.03757, allocations: 135.8 kB / 395.4 MB, free: 0.4961 MB / 362.7 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.0001231/0.03769, allocations: 115.1 kB / 395.5 MB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.03817, allocations: 295.9 kB / 395.8 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.03817, allocations: 0 / 395.8 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.03831, allocations: 115.4 kB / 395.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.03939, allocations: 109 kB / 396 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.04462, allocations: 1.52 MB / 397.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.04476, allocations: 117.8 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.04494, allocations: 51.38 kB / 397.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.04501, allocations: 32.5 kB / 397.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.003e-06/0.04501, allocations: 0 / 397.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01777/0.06278, allocations: 4.329 MB / 402 MB, free: 9.809 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2705740979872644]