Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001609, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001161/0.001161, allocations: 98.78 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007024/0.0007028, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.159, allocations: 58.87 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00683/0.1659, allocations: 2.57 MB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.1692, allocations: 0.8506 MB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.1697, allocations: 11.94 kB / 493.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1699, allocations: 47.55 kB / 493.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009921/0.1709, allocations: 207.4 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.1715, allocations: 75.91 kB / 494 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.1728, allocations: 419.2 kB / 494.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.1733, allocations: 136.9 kB / 494.5 MB, free: 5.004 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.1739, allocations: 183.4 kB / 494.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.1744, allocations: 207.1 kB / 494.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1746, allocations: 24 kB / 494.9 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1748, allocations: 28 kB / 495 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1749, allocations: 75.67 kB / 495 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.1752, allocations: 125.5 kB / 495.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.1761, allocations: 406.7 kB / 495.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1761, allocations: 0 / 495.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1761, allocations: 0 / 495.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1762, allocations: 0 / 495.6 MB, free: 3.969 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00221/0.1784, allocations: 0.6782 MB / 496.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.1785, allocations: 8.031 kB / 496.2 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1787, allocations: 59.3 kB / 496.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.1796, allocations: 305.3 kB / 496.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.1797, allocations: 36.98 kB / 496.6 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.1799, allocations: 55.91 kB / 496.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1815, allocations: 430.5 kB / 497.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.83e-05/0.1816, allocations: 11.91 kB / 497.1 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.1817, allocations: 16 kB / 497.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.1818, allocations: 12 kB / 497.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1831, allocations: 316.4 kB / 497.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.1874, allocations: 1.161 MB / 498.6 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.1891, allocations: 493 kB / 499.1 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.1892, allocations: 4.438 kB / 499.1 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.1893, allocations: 43.03 kB / 499.1 MB, free: 168 kB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 5.36e-06/0.1893, allocations: 0 / 499.1 MB, free: 168 kB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.007302/0.1966, allocations: 2.121 MB / 0.4895 GB, free: 13.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.1968, allocations: 89.62 kB / 0.4896 GB, free: 13.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.1974, allocations: 243 kB / 0.4898 GB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.1975, allocations: 41.7 kB / 0.4899 GB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.1978, allocations: 259.4 kB / 0.4901 GB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.1982, allocations: 276 kB / 0.4904 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1983, allocations: 16 kB / 0.4904 GB, free: 12.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.1986, allocations: 342.8 kB / 0.4907 GB, free: 12.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.1993, allocations: 153.9 kB / 0.4909 GB, free: 12.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.2002, allocations: 272.8 kB / 0.4911 GB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.2011, allocations: 199.4 kB / 0.4913 GB, free: 11.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.2012, allocations: 0 / 0.4913 GB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002105/0.2033, allocations: 0.5475 MB / 0.4919 GB, free: 11.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.2034, allocations: 7.938 kB / 0.4919 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.2034, allocations: 4 kB / 0.4919 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/0.2035, allocations: 4 kB / 0.4919 GB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.2053, allocations: 183.8 kB / 0.492 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-05/0.2054, allocations: 7.953 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.2062, allocations: 28.19 kB / 0.4921 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.2063, allocations: 27.94 kB / 0.4921 GB, free: 11.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0004655/0.2068, allocations: 185.6 kB / 0.4923 GB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.2071, allocations: 47.44 kB / 0.4923 GB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.2073, allocations: 55.69 kB / 0.4924 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.2074, allocations: 11.98 kB / 0.4924 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.2074, allocations: 64 / 0.4924 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.2074, allocations: 15.94 kB / 0.4924 GB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/0.2124, allocations: 1.438 MB / 0.4938 GB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.2125, allocations: 8.062 kB / 0.4938 GB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.2146, allocations: 167.7 kB / 0.494 GB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-05/0.2147, allocations: 4 kB / 0.494 GB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.2148, allocations: 16 kB / 0.494 GB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/0.2148, allocations: 8 kB / 0.494 GB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.2149, allocations: 3.953 kB / 0.494 GB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.2178, allocations: 1.053 MB / 0.495 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.2181, allocations: 116.5 kB / 0.4952 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.2183, allocations: 23.98 kB / 0.4952 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.2192, allocations: 16 kB / 0.4952 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.2195, allocations: 52.27 kB / 0.4952 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.2196, allocations: 27.94 kB / 0.4953 GB, free: 7.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004275/0.22, allocations: 174 kB / 0.4954 GB, free: 7.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.22, allocations: 0 / 0.4954 GB, free: 7.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001495/0.2216, allocations: 148 kB / 0.4956 GB, free: 7.312 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0003299/0.222, allocations: 115.1 kB / 0.4957 GB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.2239, allocations: 451.6 kB / 0.4961 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.2239, allocations: 0 / 0.4961 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.2248, allocations: 230.2 kB / 0.4963 GB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.2265, allocations: 117.7 kB / 0.4964 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/0.2331, allocations: 2.051 MB / 0.4984 GB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.234, allocations: 0.8605 MB / 0.4993 GB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.2344, allocations: 43.44 kB / 0.4993 GB, free: 3.375 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2344, allocations: 0 / 0.4993 GB, free: 3.375 MB / 346.7 MB Notification: Performance of Templates: time 0.02187/0.2563, allocations: 5.755 MB / 0.505 GB, free: 13.63 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches