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.001919/0.001919, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.00215/0.00215, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.555/1.555, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3384/0.3384, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 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 1.984e-06/1.984e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.686e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005178/0.005215, allocations: 2.818 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.006702, allocations: 426.4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.007186, allocations: 11.94 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.007417, allocations: 67.31 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.00809, allocations: 178.4 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.008483, allocations: 99.83 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009495/0.009433, allocations: 0.5673 MB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.009768, allocations: 109 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000702/0.01047, allocations: 319.3 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.0108, allocations: 159.6 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.0109, allocations: 40 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.01101, allocations: 40 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01111, allocations: 95.64 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.01139, allocations: 179.6 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.01234, allocations: 0.5256 MB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01234, allocations: 0 / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01234, allocations: 0 / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.01236, allocations: 0 / 382.9 MB, free: 13.36 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.001283/0.01365, allocations: 0.6571 MB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.01369, allocations: 8.031 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.01389, allocations: 92.61 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.0143, allocations: 229.7 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.01435, allocations: 33.38 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.01446, allocations: 56.33 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.0153, allocations: 458.6 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.01534, allocations: 8.141 kB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.01539, allocations: 20.38 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.0154, allocations: 16.38 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.01593, allocations: 267.6 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.01874, allocations: 1.497 MB / 386.2 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.01937, allocations: 399.9 kB / 386.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.01962, allocations: 151.8 kB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01965, allocations: 12 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.01971, allocations: 50.48 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.01972, allocations: 0 / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008647/0.02058, allocations: 365.1 kB / 387.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/0.0208, allocations: 269 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02113, allocations: 245.7 kB / 387.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.02117, allocations: 38.2 kB / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.02139, allocations: 244.2 kB / 387.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.02158, allocations: 194.4 kB / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.02177, allocations: 114.7 kB / 388.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.022, allocations: 350.7 kB / 388.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.02223, allocations: 114 kB / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.02279, allocations: 421.6 kB / 389.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.02384, allocations: 0.5815 MB / 389.7 MB, free: 5.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.02385, allocations: 4 kB / 389.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001075/0.02492, allocations: 0.6024 MB / 390.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.02495, allocations: 8 kB / 390.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.02497, allocations: 15.94 kB / 390.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.02501, allocations: 16 kB / 390.3 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.02563, allocations: 176.3 kB / 390.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.02565, allocations: 19.94 kB / 390.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.026, allocations: 63.56 kB / 390.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.02606, allocations: 35.98 kB / 390.6 MB, free: 4.961 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.0002579/0.02631, allocations: 189.5 kB / 390.8 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.02655, allocations: 51.77 kB / 390.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.531e-05/0.02664, allocations: 41.77 kB / 390.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.02665, allocations: 8 kB / 390.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.02666, allocations: 4 kB / 390.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.02667, allocations: 3.984 kB / 390.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.02769, allocations: 304.9 kB / 391.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.0277, allocations: 8 kB / 391.2 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.0283, allocations: 123.9 kB / 391.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.02831, allocations: 4 kB / 391.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.02834, allocations: 8 kB / 391.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.02835, allocations: 7.984 kB / 391.3 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.02836, allocations: 7.938 kB / 391.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.0296, allocations: 1.102 MB / 392.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.02968, allocations: 35.75 kB / 392.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.02974, allocations: 8 kB / 392.5 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.03017, allocations: 12 kB / 392.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.03024, allocations: 35.89 kB / 392.5 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.03026, allocations: 15.98 kB / 392.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.03045, allocations: 161.2 kB / 392.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03045, allocations: 0 / 392.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009105/0.03136, allocations: 135.8 kB / 392.9 MB, free: 2.656 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.000249/0.03161, allocations: 115.1 kB / 393 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006664/0.03228, allocations: 329.9 kB / 393.3 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.03229, allocations: 4 kB / 393.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.03252, allocations: 128.5 kB / 393.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.03378, allocations: 101.1 kB / 393.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.03651, allocations: 1.504 MB / 395 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.03683, allocations: 232.1 kB / 395.2 MB, free: 180 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.03702, allocations: 47.44 kB / 395.3 MB, free: 132 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.03711, allocations: 36.44 kB / 395.3 MB, free: 96 kB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03711, allocations: 0 / 395.3 MB, free: 96 kB / 362.7 MB Notification: Performance of Templates: time 0.01046/0.04756, allocations: 4.113 MB / 399.4 MB, free: 12.06 MB / 378.7 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/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_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: 5.068495152052492]