Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 96.84 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3377/0.3377, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 8 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00271/0.115, allocations: 2.608 MB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.1156, allocations: 406.5 kB / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1157, allocations: 11.94 kB / 493.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.206e-05/0.1158, allocations: 47.62 kB / 493.3 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1161, allocations: 138.8 kB / 493.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1163, allocations: 75.92 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.1167, allocations: 0.5053 MB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1169, allocations: 129.1 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1171, allocations: 167.4 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1173, allocations: 199.2 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.1174, allocations: 27.94 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.1174, allocations: 27.94 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.1175, allocations: 71.7 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.1176, allocations: 117.5 kB / 494.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1179, allocations: 387.1 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1179, allocations: 4 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1179, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.118, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.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.000816/0.1188, allocations: 0.6393 MB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1188, allocations: 8.031 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.1189, allocations: 63.27 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1192, allocations: 286.2 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.1192, allocations: 33 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.1193, allocations: 55.84 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.12, allocations: 462 kB / 496.6 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.12, allocations: 7.906 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.12, allocations: 23.98 kB / 496.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1201, allocations: 12 kB / 496.7 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.1204, allocations: 255.7 kB / 496.9 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.1225, allocations: 1.699 MB / 498.6 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.123, allocations: 407.9 kB / 499 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1232, allocations: 163.8 kB / 499.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1232, allocations: 8 kB / 499.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1232, allocations: 50.48 kB / 499.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.1233, allocations: 0 / 499.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006712/0.1239, allocations: 353.3 kB / 499.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1241, allocations: 273.5 kB / 499.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1243, allocations: 254.8 kB / 0.4884 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1243, allocations: 29.7 kB / 0.4884 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1245, allocations: 243.6 kB / 0.4887 GB, free: 408 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1246, allocations: 177.5 kB / 0.4888 GB, free: 228 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.1246, allocations: 16 kB / 0.4888 GB, free: 212 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1851/0.3097, allocations: 350.2 kB / 0.4892 GB, free: 42.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3101, allocations: 111.1 kB / 0.4893 GB, free: 42.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.3104, allocations: 416.7 kB / 0.4897 GB, free: 41.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3107, allocations: 180.8 kB / 0.4898 GB, free: 41.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.3108, allocations: 6.875 kB / 0.4899 GB, free: 41.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000876/0.3116, allocations: 0.5607 MB / 0.4904 GB, free: 41.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3117, allocations: 9.734 kB / 0.4904 GB, free: 41.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3117, allocations: 11.09 kB / 0.4904 GB, free: 41.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.3117, allocations: 14.69 kB / 0.4904 GB, free: 41.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.3123, allocations: 188.6 kB / 0.4906 GB, free: 41.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.3123, allocations: 22.67 kB / 0.4906 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3126, allocations: 63.17 kB / 0.4907 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.3126, allocations: 30.25 kB / 0.4907 GB, free: 41.54 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.3129, allocations: 186.5 kB / 0.4909 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.3131, allocations: 40.34 kB / 0.4909 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.3132, allocations: 41.03 kB / 0.491 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3132, allocations: 5.656 kB / 0.491 GB, free: 41.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.3132, allocations: 10.84 kB / 0.491 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3132, allocations: 5.016 kB / 0.491 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3142, allocations: 418.7 kB / 0.4914 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3143, allocations: 2.312 kB / 0.4914 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.3149, allocations: 122.8 kB / 0.4915 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3149, allocations: 4.688 kB / 0.4915 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.3149, allocations: 14.3 kB / 0.4915 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.3149, allocations: 8.875 kB / 0.4915 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3149, allocations: 2.719 kB / 0.4915 GB, free: 41.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.3157, allocations: 1.074 MB / 0.4926 GB, free: 40.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.3158, allocations: 121.8 kB / 0.4927 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3159, allocations: 14.31 kB / 0.4927 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.3162, allocations: 5.719 kB / 0.4927 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3163, allocations: 28.7 kB / 0.4928 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3163, allocations: 15.19 kB / 0.4928 GB, free: 40.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3165, allocations: 170.5 kB / 0.4929 GB, free: 40.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3165, allocations: 0 / 0.4929 GB, free: 40.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008172/0.3173, allocations: 132.6 kB / 0.4931 GB, free: 40.27 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.3174, allocations: 122.5 kB / 0.4932 GB, free: 40.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3179, allocations: 348.7 kB / 0.4935 GB, free: 40.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.318, allocations: 0.5469 kB / 0.4935 GB, free: 40.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.3181, allocations: 128.6 kB / 0.4936 GB, free: 40.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3192, allocations: 94.86 kB / 0.4937 GB, free: 40.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.3219, allocations: 2.473 MB / 0.4961 GB, free: 38.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3223, allocations: 0.8307 MB / 0.497 GB, free: 37.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.3224, allocations: 35 kB / 0.497 GB, free: 37.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3224, allocations: 1.219 kB / 0.497 GB, free: 37.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006494/0.3289, allocations: 4.927 MB / 0.5018 GB, free: 37.24 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches