Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001545/0.001545, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.00152/0.00152, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.577/1.577, allocations: 177.2 MB / 204.9 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 32.82 MB / 294.1 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003209/0.3262, allocations: 2.823 MB / 0.4969 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.3269, allocations: 409.7 kB / 0.4973 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.327, allocations: 16.72 kB / 0.4973 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3271, allocations: 66.17 kB / 0.4974 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.3274, allocations: 163.2 kB / 0.4975 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3276, allocations: 103.6 kB / 0.4976 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.3279, allocations: 0.5438 MB / 0.4981 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3281, allocations: 111.4 kB / 0.4982 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3283, allocations: 215.6 kB / 0.4985 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.3285, allocations: 187.9 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3286, allocations: 41.91 kB / 0.4987 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.3286, allocations: 41.88 kB / 0.4987 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.3287, allocations: 89.62 kB / 0.4988 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3288, allocations: 213.4 kB / 0.499 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.3292, allocations: 0.5257 MB / 0.4995 GB, free: 28.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3292, allocations: 0 / 0.4995 GB, free: 28.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3292, allocations: 0 / 0.4995 GB, free: 28.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3292, allocations: 0 / 0.4995 GB, free: 28.08 MB / 446.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.0007409/0.33, allocations: 0.6531 MB / 0.5002 GB, free: 27.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.33, allocations: 12.56 kB / 0.5002 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.3301, allocations: 56.61 kB / 0.5002 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3303, allocations: 228.1 kB / 0.5004 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3303, allocations: 36.16 kB / 0.5005 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.3304, allocations: 55.92 kB / 0.5005 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.3309, allocations: 457.6 kB / 0.501 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.3309, allocations: 18.47 kB / 0.501 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.331, allocations: 26.06 kB / 0.501 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.331, allocations: 12.41 kB / 0.501 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.3314, allocations: 249.8 kB / 0.5013 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3329, allocations: 1.501 MB / 0.5027 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.3333, allocations: 405.6 kB / 0.5031 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.3334, allocations: 151.7 kB / 0.5033 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3334, allocations: 6.594 kB / 0.5033 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3334, allocations: 48.03 kB / 0.5033 GB, free: 25.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.3334, allocations: 0 / 0.5033 GB, free: 25.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006374/0.3341, allocations: 358.2 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3341, allocations: 265.8 kB / 0.5039 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3343, allocations: 259.7 kB / 0.5041 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3343, allocations: 36.95 kB / 0.5042 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3345, allocations: 243.5 kB / 0.5044 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.3345, allocations: 190.6 kB / 0.5046 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3346, allocations: 119.7 kB / 0.5047 GB, free: 24.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.3347, allocations: 346.3 kB / 0.505 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3349, allocations: 114.9 kB / 0.5051 GB, free: 23.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3351, allocations: 415.3 kB / 0.5055 GB, free: 23.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3356, allocations: 0.5743 MB / 0.5061 GB, free: 22.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3356, allocations: 7.156 kB / 0.5061 GB, free: 22.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006577/0.3363, allocations: 0.5617 MB / 0.5067 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3363, allocations: 9.25 kB / 0.5067 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3363, allocations: 12.97 kB / 0.5067 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.3363, allocations: 15.69 kB / 0.5067 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.3368, allocations: 183.5 kB / 0.5069 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.3368, allocations: 30.75 kB / 0.5069 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3371, allocations: 61.73 kB / 0.507 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3371, allocations: 35.34 kB / 0.507 GB, free: 22.57 MB / 446.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.000133/0.3372, allocations: 184.9 kB / 0.5072 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.3374, allocations: 33.94 kB / 0.5072 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.3375, allocations: 42.27 kB / 0.5072 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3375, allocations: 6.094 kB / 0.5073 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3375, allocations: 6.875 kB / 0.5073 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3375, allocations: 7.422 kB / 0.5073 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.3383, allocations: 308.1 kB / 0.5076 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3383, allocations: 0 / 0.5076 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.3388, allocations: 129.1 kB / 0.5077 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3388, allocations: 7 kB / 0.5077 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3389, allocations: 14.12 kB / 0.5077 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3389, allocations: 9.484 kB / 0.5077 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3389, allocations: 0 / 0.5077 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.3394, allocations: 1.09 MB / 0.5088 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.3395, allocations: 31.84 kB / 0.5088 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.3395, allocations: 18.16 kB / 0.5088 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.3399, allocations: 7 kB / 0.5088 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.34, allocations: 33.98 kB / 0.5089 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.34, allocations: 19.69 kB / 0.5089 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.3401, allocations: 161.3 kB / 0.509 GB, free: 21.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 0.509 GB, free: 21.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007887/0.3409, allocations: 145 kB / 0.5092 GB, free: 21.07 MB / 446.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.0001616/0.341, allocations: 113.5 kB / 0.5093 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.3415, allocations: 334.2 kB / 0.5096 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3415, allocations: 0 / 0.5096 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3416, allocations: 126.5 kB / 0.5097 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.3428, allocations: 98.39 kB / 0.5098 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.3449, allocations: 1.947 MB / 0.5117 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.3451, allocations: 225.5 kB / 0.5119 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.3453, allocations: 46.66 kB / 0.512 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3453, allocations: 32.56 kB / 0.512 GB, free: 19.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3453, allocations: 7 kB / 0.512 GB, free: 19.14 MB / 446.1 MB Notification: Performance of Templates: time 0.008895/0.3542, allocations: 4.102 MB / 0.516 GB, free: 18.6 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.290533132967539]