Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001148/0.001148, allocations: 190.7 kB / 8.534 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008833/0.0008833, allocations: 90.08 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.252e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.4547, allocations: 88.63 MB / 0.5903 GB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4549, allocations: 61.34 kB / 0.5904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02324/0.4782, allocations: 8.484 MB / 0.5987 GB, free: 7.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.4783, allocations: 12 kB / 0.5987 GB, free: 7.434 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.001046/0.4793, allocations: 0.6415 MB / 0.5993 GB, free: 6.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4794, allocations: 8.031 kB / 0.5993 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.4795, allocations: 55.34 kB / 0.5994 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.48, allocations: 295.7 kB / 0.5997 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.48, allocations: 16 kB / 0.5997 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.4801, allocations: 30.73 kB / 0.5997 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005017/0.4806, allocations: 279.8 kB / 0.6 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.4812, allocations: 352.8 kB / 0.6003 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.4812, allocations: 7.906 kB / 0.6003 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.4812, allocations: 7.938 kB / 0.6003 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.4813, allocations: 12 kB / 0.6003 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.4829, allocations: 1.077 MB / 0.6014 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.4834, allocations: 279.7 kB / 0.6016 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.4837, allocations: 193 kB / 0.6018 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.4837, allocations: 4.438 kB / 0.6018 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4838, allocations: 46.77 kB / 0.6019 GB, free: 4.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 3.326e-06/0.4838, allocations: 0 / 0.6019 GB, free: 4.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.002526/0.4863, allocations: 1.799 MB / 0.6036 GB, free: 2.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4864, allocations: 89.55 kB / 0.6037 GB, free: 2.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.4866, allocations: 197.4 kB / 0.6039 GB, free: 2.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4866, allocations: 29.64 kB / 0.6039 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4867, allocations: 183.6 kB / 0.6041 GB, free: 2.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.4869, allocations: 264 kB / 0.6044 GB, free: 2.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.4869, allocations: 0 / 0.6044 GB, free: 2.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4871, allocations: 352.2 kB / 0.6047 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.4873, allocations: 134.8 kB / 0.6048 GB, free: 1.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.4876, allocations: 243.8 kB / 0.6051 GB, free: 1.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4879, allocations: 171.5 kB / 0.6052 GB, free: 1.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4879, allocations: 4 kB / 0.6052 GB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000719/0.4886, allocations: 498 kB / 0.6057 GB, free: 1.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4886, allocations: 4 kB / 0.6057 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4887, allocations: 7.938 kB / 0.6057 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4887, allocations: 4 kB / 0.6057 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.4894, allocations: 190.5 kB / 0.6059 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4894, allocations: 4.281 kB / 0.6059 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.4896, allocations: 12 kB / 0.6059 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.4897, allocations: 27.56 kB / 0.6059 GB, free: 0.8008 MB / 394.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 0.0001091/0.4898, allocations: 120.7 kB / 0.6061 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.4899, allocations: 47.44 kB / 0.6061 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.49, allocations: 44.06 kB / 0.6061 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.49, allocations: 8 kB / 0.6062 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.49, allocations: 3.984 kB / 0.6062 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4901, allocations: 4 kB / 0.6062 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4918, allocations: 1.307 MB / 0.6074 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.4918, allocations: 4 kB / 0.6074 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.4925, allocations: 171.2 kB / 0.6076 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.4925, allocations: 4 kB / 0.6076 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.4926, allocations: 8 kB / 0.6076 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.4926, allocations: 7.938 kB / 0.6076 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4926, allocations: 4 kB / 0.6076 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/0.4936, allocations: 0.9781 MB / 0.6086 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4938, allocations: 112.6 kB / 0.6087 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.4939, allocations: 11.73 kB / 0.6087 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.4942, allocations: 15.84 kB / 0.6087 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.4942, allocations: 39.81 kB / 0.6088 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.4943, allocations: 23 kB / 0.6088 GB, free: 14.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001191/0.4944, allocations: 150.3 kB / 0.6089 GB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.4949, allocations: 124 kB / 0.609 GB, free: 13.85 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.0001556/0.495, allocations: 106.8 kB / 0.6091 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.4956, allocations: 412.1 kB / 0.6095 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4956, allocations: 0 / 0.6095 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.4959, allocations: 212.3 kB / 0.6097 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.4965, allocations: 86.11 kB / 0.6098 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4988, allocations: 1.475 MB / 0.6113 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/0.4993, allocations: 0.9015 MB / 0.6121 GB, free: 10.84 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4994, allocations: 0 / 0.6121 GB, free: 10.84 MB / 410.7 MB Notification: Performance of Templates: time 0.01037/0.5097, allocations: 5.074 MB / 0.6171 GB, free: 5.828 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches