Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 175.6 kB / 8.519 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.000938, allocations: 98.34 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.181/0.181, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.239e-05/1.239e-05, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 61.91 MB / 0.4941 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4559, allocations: 87.56 MB / 0.5796 GB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.4562, allocations: 79.14 kB / 0.5797 GB, free: 9.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02365/0.4799, allocations: 8.409 MB / 0.5879 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.48, allocations: 12 kB / 0.5879 GB, free: 0.6602 MB / 394.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.0009487/0.4809, allocations: 0.6436 MB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.481, allocations: 11.97 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.4811, allocations: 55.34 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.4815, allocations: 297.3 kB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.4815, allocations: 15.91 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.4816, allocations: 32 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004809/0.4821, allocations: 277.9 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.4826, allocations: 352.2 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4827, allocations: 11.91 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.4827, allocations: 0 / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4827, allocations: 14.95 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.4843, allocations: 1.077 MB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.4848, allocations: 277.3 kB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.4851, allocations: 198.9 kB / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4851, allocations: 4.438 kB / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.4852, allocations: 47 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.4852, allocations: 0 / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002369/0.4876, allocations: 1.799 MB / 0.5929 GB, free: 11.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4876, allocations: 89.61 kB / 0.5929 GB, free: 11.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4878, allocations: 197 kB / 0.5931 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4879, allocations: 25.7 kB / 0.5932 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.4879, allocations: 185 kB / 0.5933 GB, free: 10.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.4881, allocations: 256.1 kB / 0.5936 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.4881, allocations: 0 / 0.5936 GB, free: 10.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4883, allocations: 362.9 kB / 0.5939 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4885, allocations: 133.5 kB / 0.594 GB, free: 9.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4888, allocations: 249.1 kB / 0.5943 GB, free: 9.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.4891, allocations: 175.1 kB / 0.5945 GB, free: 9.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4891, allocations: 3.938 kB / 0.5945 GB, free: 9.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006942/0.4898, allocations: 493.1 kB / 0.5949 GB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4899, allocations: 4.281 kB / 0.5949 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4899, allocations: 8 kB / 0.5949 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4899, allocations: 8 kB / 0.5949 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.4905, allocations: 175.8 kB / 0.5951 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4905, allocations: 15.92 kB / 0.5951 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.4908, allocations: 4 kB / 0.5951 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.4908, allocations: 31.94 kB / 0.5952 GB, free: 8.785 MB / 410.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 () * 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 9.61e-05/0.4909, allocations: 116.9 kB / 0.5953 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.491, allocations: 43.44 kB / 0.5953 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.4911, allocations: 47.61 kB / 0.5954 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4912, allocations: 8 kB / 0.5954 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4912, allocations: 0 / 0.5954 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4912, allocations: 3.984 kB / 0.5954 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.4929, allocations: 1.317 MB / 0.5967 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4929, allocations: 0 / 0.5967 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.4936, allocations: 163.8 kB / 0.5968 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.4936, allocations: 8.344 kB / 0.5968 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4937, allocations: 11.98 kB / 0.5968 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4937, allocations: 4 kB / 0.5968 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4937, allocations: 7.938 kB / 0.5968 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001019/0.4947, allocations: 0.9818 MB / 0.5978 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.4948, allocations: 112.6 kB / 0.5979 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.12e-05/0.4949, allocations: 12 kB / 0.5979 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.4952, allocations: 8.047 kB / 0.5979 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4952, allocations: 40.3 kB / 0.598 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.4953, allocations: 27.98 kB / 0.598 GB, free: 5.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001099/0.4954, allocations: 157.2 kB / 0.5981 GB, free: 5.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.4959, allocations: 120 kB / 0.5983 GB, free: 5.367 MB / 410.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 () * 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.0001303/0.496, allocations: 103.1 kB / 0.5984 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005604/0.4966, allocations: 397.6 kB / 0.5987 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4966, allocations: 0 / 0.5987 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4969, allocations: 222.4 kB / 0.5989 GB, free: 4.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.4975, allocations: 93.34 kB / 0.599 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4997, allocations: 1.462 MB / 0.6005 GB, free: 3.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.5002, allocations: 0.9054 MB / 0.6013 GB, free: 2.105 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5003, allocations: 3.938 kB / 0.6014 GB, free: 2.102 MB / 410.7 MB Notification: Performance of Templates: time 0.009807/0.5101, allocations: 5.085 MB / 0.6063 GB, free: 13.07 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches