Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 115.9 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 194.4 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.466/2.466, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4536/0.4536, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002858, allocations: 71.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1929, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.007884/0.2009, allocations: 3.073 MB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2027, allocations: 410.5 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.2033, allocations: 11.94 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2038, allocations: 71.3 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.2048, allocations: 162.5 kB / 0.4921 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.2054, allocations: 99.88 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.2067, allocations: 0.5442 MB / 0.4928 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006434/0.2074, allocations: 160.8 kB / 0.4929 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/0.2122, allocations: 203.4 kB / 0.4931 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.2131, allocations: 211 kB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.2134, allocations: 40 kB / 0.4934 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.2137, allocations: 40 kB / 0.4934 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2139, allocations: 99.61 kB / 0.4935 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.2146, allocations: 254.9 kB / 0.4937 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2159, allocations: 0.5177 MB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.2159, allocations: 3.984 kB / 0.4942 GB, free: 5.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.2159, allocations: 0 / 0.4942 GB, free: 5.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.216, allocations: 0 / 0.4942 GB, free: 5.934 MB / 382.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.001872/0.2178, allocations: 0.7213 MB / 0.4949 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.2179, allocations: 11.89 kB / 0.495 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2181, allocations: 52.38 kB / 0.495 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.2188, allocations: 295.4 kB / 0.4953 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.2189, allocations: 33.38 kB / 0.4953 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.219, allocations: 56.27 kB / 0.4954 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2204, allocations: 462.7 kB / 0.4958 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-05/0.2205, allocations: 12.08 kB / 0.4958 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.2206, allocations: 23.94 kB / 0.4959 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.2206, allocations: 16 kB / 0.4959 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.2214, allocations: 259.2 kB / 0.4961 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008674/0.2301, allocations: 1.683 MB / 0.4978 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2312, allocations: 415.9 kB / 0.4982 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.2317, allocations: 167.8 kB / 0.4983 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.2318, allocations: 11.94 kB / 0.4983 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.2319, allocations: 54.42 kB / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 4.849e-06/0.2319, allocations: 0 / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001471/0.2334, allocations: 353.4 kB / 0.4987 GB, free: 1.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.2336, allocations: 276.9 kB / 0.499 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.2341, allocations: 254.7 kB / 0.4992 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.2342, allocations: 33.7 kB / 0.4993 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.2345, allocations: 239.7 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.2348, allocations: 173.5 kB / 0.4996 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.2352, allocations: 114.6 kB / 0.4998 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.2354, allocations: 346.8 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2358, allocations: 121.9 kB / 0.5002 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.2365, allocations: 425.6 kB / 0.5006 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2377, allocations: 0.5693 MB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.2377, allocations: 4 kB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001566/0.2393, allocations: 0.5633 MB / 0.5017 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.2393, allocations: 12 kB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.2394, allocations: 8 kB / 0.5017 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-05/0.2394, allocations: 16 kB / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.2448, allocations: 184.2 kB / 0.5019 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.979e-05/0.2449, allocations: 19.94 kB / 0.502 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.2457, allocations: 67.91 kB / 0.502 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2459, allocations: 32 kB / 0.502 GB, free: 13.21 MB / 398.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.0004724/0.2464, allocations: 193.5 kB / 0.5022 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.2468, allocations: 35.62 kB / 0.5023 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.247, allocations: 41.7 kB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.2471, allocations: 7.938 kB / 0.5023 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.2471, allocations: 8 kB / 0.5023 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.2471, allocations: 4 kB / 0.5023 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.2492, allocations: 421.2 kB / 0.5027 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.2493, allocations: 4 kB / 0.5027 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.2503, allocations: 123.9 kB / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.2503, allocations: 4 kB / 0.5029 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.2504, allocations: 11.98 kB / 0.5029 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/0.2504, allocations: 7.938 kB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.2504, allocations: 4 kB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.252, allocations: 1.078 MB / 0.5039 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.2522, allocations: 112.5 kB / 0.504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2523, allocations: 16 kB / 0.504 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/0.2531, allocations: 15.94 kB / 0.5041 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.2532, allocations: 31.89 kB / 0.5041 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.2533, allocations: 16 kB / 0.5041 GB, free: 11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.2536, allocations: 173.9 kB / 0.5043 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2536, allocations: 0 / 0.5043 GB, free: 10.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001648/0.2553, allocations: 135.7 kB / 0.5044 GB, free: 10.7 MB / 398.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.0003285/0.2557, allocations: 115.2 kB / 0.5045 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2567, allocations: 343.4 kB / 0.5048 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.2568, allocations: 0 / 0.5048 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.2571, allocations: 136 kB / 0.505 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.2595, allocations: 115.1 kB / 0.5051 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.2691, allocations: 1.99 MB / 0.507 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.2699, allocations: 0.8236 MB / 0.5078 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.2701, allocations: 35.44 kB / 0.5079 GB, free: 7.066 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2701, allocations: 0 / 0.5079 GB, free: 7.066 MB / 398.1 MB Notification: Performance of Templates: time 0.01378/0.2839, allocations: 5.066 MB / 0.5128 GB, free: 2.004 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches