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.001527/0.001527, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001665/0.001665, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.532/1.532, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3564/0.3564, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 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 5.039e-06/5.039e-06, allocations: 7.938 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.754e-05/4.258e-05, allocations: 8.781 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006017/0.006059, allocations: 2.815 MB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.007332, allocations: 426.4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.007742, allocations: 11.94 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.008017, allocations: 59.31 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.008748, allocations: 182.4 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.009176, allocations: 103.8 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.01013, allocations: 0.5595 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.01046, allocations: 113 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.01119, allocations: 319.2 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.01155, allocations: 155.6 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.01166, allocations: 40 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.0118, allocations: 40 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01191, allocations: 99.64 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.0122, allocations: 175.6 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.01294, allocations: 0.5295 MB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.01295, allocations: 4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01295, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.652e-05/0.01297, allocations: 0 / 382.8 MB, free: 13.29 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.001277/0.01425, allocations: 0.6493 MB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.01429, allocations: 8.031 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.01449, allocations: 92.61 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.01492, allocations: 226.6 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.01497, allocations: 41.36 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.01508, allocations: 52.33 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.01594, allocations: 466.6 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.01598, allocations: 8.141 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.01603, allocations: 20.38 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.01605, allocations: 16.31 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.01655, allocations: 255.7 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.01899, allocations: 1.512 MB / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.0196, allocations: 399.9 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.01984, allocations: 143.7 kB / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.01987, allocations: 15.94 kB / 386.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.01991, allocations: 42.55 kB / 386.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.01991, allocations: 4 kB / 386.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008278/0.02074, allocations: 365.2 kB / 387.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.02094, allocations: 273 kB / 387.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.02122, allocations: 245.7 kB / 387.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.02125, allocations: 29.7 kB / 387.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.02147, allocations: 256.2 kB / 387.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.02166, allocations: 190.4 kB / 388 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.02181, allocations: 110.6 kB / 388.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.02203, allocations: 354.7 kB / 388.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.02224, allocations: 122.4 kB / 388.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.02277, allocations: 417.6 kB / 389 MB, free: 6.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.02357, allocations: 0.5654 MB / 389.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.02358, allocations: 4 kB / 389.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009896/0.02457, allocations: 0.6151 MB / 390.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.02459, allocations: 8 kB / 390.2 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.02461, allocations: 12.06 kB / 390.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.02465, allocations: 20 kB / 390.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.02523, allocations: 179.7 kB / 390.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.02526, allocations: 19.94 kB / 390.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.02555, allocations: 59.56 kB / 390.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.0256, allocations: 32 kB / 390.5 MB, free: 4.898 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.0002247/0.02582, allocations: 189.5 kB / 390.7 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.02603, allocations: 59.8 kB / 390.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.02612, allocations: 37.77 kB / 390.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.02613, allocations: 4 kB / 390.8 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.02614, allocations: 4 kB / 390.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.02615, allocations: 7.984 kB / 390.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.02709, allocations: 308.9 kB / 391.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02709, allocations: 0 / 391.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.02768, allocations: 127.8 kB / 391.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.02769, allocations: 4 kB / 391.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.02772, allocations: 16 kB / 391.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.02773, allocations: 4 kB / 391.3 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.02773, allocations: 4 kB / 391.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.02883, allocations: 1.095 MB / 392.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.02888, allocations: 35.73 kB / 392.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.02893, allocations: 12 kB / 392.4 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.02933, allocations: 8 kB / 392.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.02939, allocations: 35.83 kB / 392.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.02942, allocations: 19.98 kB / 392.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02958, allocations: 161.2 kB / 392.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02958, allocations: 0 / 392.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.03044, allocations: 135.8 kB / 392.8 MB, free: 2.59 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.000233/0.03067, allocations: 115.1 kB / 392.9 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006187/0.03129, allocations: 337.2 kB / 393.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.0313, allocations: 0 / 393.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.03149, allocations: 120.1 kB / 393.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.03273, allocations: 108 kB / 393.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.03527, allocations: 1.511 MB / 395 MB, free: 364 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.03558, allocations: 228.1 kB / 395.2 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.03574, allocations: 51.44 kB / 395.2 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.03582, allocations: 36.44 kB / 395.3 MB, free: 20 kB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03582, allocations: 0 / 395.3 MB, free: 20 kB / 362.7 MB Notification: Performance of Templates: time 0.009431/0.04525, allocations: 4.104 MB / 399.4 MB, free: 12 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=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.1.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.185471127042547]