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.0008804/0.0008805, allocations: 174.4 kB / 16.72 MB, free: 5.078 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.231/1.231, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006879/0.0006879, allocations: 83.92 kB / 271.2 MB, free: 8.262 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.2927/0.2927, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09546, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002574/0.09807, allocations: 2.608 MB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.09862, allocations: 418.5 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.09873, allocations: 4 kB / 493.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.09882, allocations: 43.62 kB / 493.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.09907, allocations: 142.8 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.09925, allocations: 83.86 kB / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.09967, allocations: 0.5013 MB / 494.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.09989, allocations: 137.2 kB / 494.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1001, allocations: 167.4 kB / 494.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1003, allocations: 199.2 kB / 495.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.1004, allocations: 24 kB / 495.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.1004, allocations: 27.94 kB / 495.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.1005, allocations: 71.69 kB / 495.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.1007, allocations: 244.8 kB / 495.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.101, allocations: 387.1 kB / 495.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.101, allocations: 4 kB / 495.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.101, allocations: 0 / 495.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1011, allocations: 0 / 495.8 MB, free: 5.848 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.0007816/0.1018, allocations: 0.6356 MB / 496.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1019, allocations: 8.031 kB / 496.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.102, allocations: 60.28 kB / 496.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1023, allocations: 295.3 kB / 496.8 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1023, allocations: 33.38 kB / 496.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.1024, allocations: 56.28 kB / 496.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.103, allocations: 454.6 kB / 497.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.103, allocations: 12.09 kB / 497.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.1031, allocations: 23.94 kB / 497.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.1031, allocations: 16 kB / 497.4 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.1035, allocations: 263.3 kB / 497.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1054, allocations: 1.695 MB / 499.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.1058, allocations: 423.6 kB / 499.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.106, allocations: 151.7 kB / 499.9 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.106, allocations: 7.984 kB / 499.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1061, allocations: 46.5 kB / 500 MB, free: 1.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.1061, allocations: 0 / 500 MB, free: 1.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006314/0.1067, allocations: 353.2 kB / 0.4886 GB, free: 1.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.1068, allocations: 273.4 kB / 0.4889 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1071, allocations: 254.6 kB / 0.4891 GB, free: 460 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1071, allocations: 29.7 kB / 0.4891 GB, free: 424 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1072, allocations: 247.6 kB / 0.4894 GB, free: 172 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1583/0.2656, allocations: 177.7 kB / 0.4895 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.2657, allocations: 13.81 kB / 0.4895 GB, free: 42.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.2658, allocations: 348 kB / 0.4899 GB, free: 42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.266, allocations: 117.9 kB / 0.49 GB, free: 42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.2663, allocations: 411.6 kB / 0.4904 GB, free: 41.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.2669, allocations: 0.571 MB / 0.4909 GB, free: 41.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2669, allocations: 6.844 kB / 0.4909 GB, free: 41.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008278/0.2677, allocations: 0.5575 MB / 0.4915 GB, free: 41.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2677, allocations: 10.47 kB / 0.4915 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.2678, allocations: 11.34 kB / 0.4915 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.2678, allocations: 17.78 kB / 0.4915 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.2683, allocations: 185 kB / 0.4917 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/0.2684, allocations: 20.69 kB / 0.4917 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.2686, allocations: 62.92 kB / 0.4918 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2687, allocations: 35.55 kB / 0.4918 GB, free: 41.16 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.0002023/0.2689, allocations: 184 kB / 0.492 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2691, allocations: 38.06 kB / 0.492 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.463e-05/0.2692, allocations: 42.8 kB / 0.4921 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2692, allocations: 14.22 kB / 0.4921 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.2692, allocations: 2.688 kB / 0.4921 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2692, allocations: 4.5 kB / 0.4921 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/0.2702, allocations: 417.4 kB / 0.4925 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2702, allocations: 3.234 kB / 0.4925 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.2707, allocations: 124.9 kB / 0.4926 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2707, allocations: 7.141 kB / 0.4926 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.2708, allocations: 14.94 kB / 0.4926 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2708, allocations: 8 kB / 0.4926 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2708, allocations: 2.906 kB / 0.4926 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.2714, allocations: 1.074 MB / 0.4937 GB, free: 40.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.2715, allocations: 112.7 kB / 0.4938 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2716, allocations: 17.22 kB / 0.4938 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.2719, allocations: 9.688 kB / 0.4938 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.272, allocations: 32.39 kB / 0.4939 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.272, allocations: 15.03 kB / 0.4939 GB, free: 39.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2721, allocations: 167.4 kB / 0.494 GB, free: 39.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2722, allocations: 0 / 0.494 GB, free: 39.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007685/0.2729, allocations: 140.1 kB / 0.4942 GB, free: 39.88 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.0001117/0.273, allocations: 113.6 kB / 0.4943 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.2735, allocations: 342 kB / 0.4946 GB, free: 39.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2735, allocations: 3.875 kB / 0.4946 GB, free: 39.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2737, allocations: 132.1 kB / 0.4947 GB, free: 39.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2748, allocations: 96.02 kB / 0.4948 GB, free: 39.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.2773, allocations: 2.473 MB / 0.4972 GB, free: 37.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2777, allocations: 0.8293 MB / 0.498 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.2778, allocations: 36.41 kB / 0.4981 GB, free: 37.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2778, allocations: 0 / 0.4981 GB, free: 37.25 MB / 378.7 MB Notification: Performance of Templates: time 0.006663/0.2844, allocations: 4.946 MB / 0.5029 GB, free: 36.84 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