Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008348/0.008348, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.308/1.308, allocations: 170.8 MB / 186.6 MB, free: 1.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001889/0.001889, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4208/0.4208, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003753, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.4135, allocations: 75.91 MB / 487.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4138, allocations: 69.08 kB / 487.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01958/0.4334, allocations: 8.401 MB / 496 MB, free: 4.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4334, allocations: 0 / 496 MB, free: 4.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.4335, allocations: 8 kB / 496 MB, free: 4.875 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.0008064/0.4343, allocations: 0.6709 MB / 496.6 MB, free: 4.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4343, allocations: 8.031 kB / 496.6 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.4344, allocations: 58.61 kB / 496.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4347, allocations: 292.3 kB / 497 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.4347, allocations: 34.5 kB / 497 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.4348, allocations: 54.59 kB / 497.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.4354, allocations: 427.3 kB / 497.5 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.4354, allocations: 8.938 kB / 497.5 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.4355, allocations: 24.69 kB / 497.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4355, allocations: 12 kB / 497.5 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.4359, allocations: 316.2 kB / 497.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4372, allocations: 1.151 MB / 499 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.4378, allocations: 492.2 kB / 499.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4378, allocations: 12.38 kB / 499.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4379, allocations: 41.61 kB / 499.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.533e-06/0.4379, allocations: 0 / 499.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.002289/0.4402, allocations: 2.119 MB / 0.4899 GB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4402, allocations: 93.62 kB / 0.49 GB, free: 15.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4405, allocations: 224.5 kB / 0.4902 GB, free: 15.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4405, allocations: 40.39 kB / 0.4902 GB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4406, allocations: 210 kB / 0.4904 GB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4408, allocations: 264.7 kB / 0.4907 GB, free: 15.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.4408, allocations: 14.81 kB / 0.4907 GB, free: 15.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.441, allocations: 359.7 kB / 0.491 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.4412, allocations: 149.7 kB / 0.4912 GB, free: 14.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.4415, allocations: 275.6 kB / 0.4914 GB, free: 14.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.4418, allocations: 197.3 kB / 0.4916 GB, free: 14.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4418, allocations: 0 / 0.4916 GB, free: 14.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006952/0.4425, allocations: 0.5679 MB / 0.4922 GB, free: 14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4426, allocations: 4.281 kB / 0.4922 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4426, allocations: 11.98 kB / 0.4922 GB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.4426, allocations: 4 kB / 0.4922 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.4433, allocations: 179.6 kB / 0.4924 GB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4433, allocations: 4 kB / 0.4924 GB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.4435, allocations: 34.06 kB / 0.4924 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.4436, allocations: 19.75 kB / 0.4924 GB, free: 13.77 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.000196/0.4438, allocations: 185.5 kB / 0.4926 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.4439, allocations: 51.44 kB / 0.4927 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.444, allocations: 54.45 kB / 0.4927 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.444, allocations: 8 kB / 0.4927 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.444, allocations: 0 / 0.4927 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4441, allocations: 7.984 kB / 0.4927 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.4458, allocations: 1.448 MB / 0.4941 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4459, allocations: 0 / 0.4941 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.4465, allocations: 162.7 kB / 0.4943 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4465, allocations: 4.344 kB / 0.4943 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4465, allocations: 22.94 kB / 0.4943 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.4465, allocations: 15.92 kB / 0.4943 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4465, allocations: 7.953 kB / 0.4943 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4476, allocations: 1.03 MB / 0.4953 GB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4477, allocations: 124.5 kB / 0.4955 GB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.4478, allocations: 18.56 kB / 0.4955 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.448, allocations: 18.5 kB / 0.4955 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.4481, allocations: 51.02 kB / 0.4956 GB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.4482, allocations: 27.56 kB / 0.4956 GB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.4483, allocations: 174.6 kB / 0.4957 GB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4483, allocations: 8 kB / 0.4958 GB, free: 10.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.4488, allocations: 148.3 kB / 0.4959 GB, free: 10.64 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.0001509/0.449, allocations: 118.1 kB / 0.496 GB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.4496, allocations: 448.5 kB / 0.4964 GB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4496, allocations: 0.5625 kB / 0.4964 GB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.4499, allocations: 238.4 kB / 0.4967 GB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.4505, allocations: 109 kB / 0.4968 GB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4531, allocations: 2.022 MB / 0.4987 GB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.4535, allocations: 0.8625 MB / 0.4996 GB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.4537, allocations: 56.66 kB / 0.4996 GB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.4538, allocations: 39.44 kB / 0.4997 GB, free: 6.98 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4539, allocations: 4 kB / 0.4997 GB, free: 6.977 MB / 346.7 MB Notification: Performance of Templates: time 0.008673/0.4625, allocations: 4.8 MB / 0.5044 GB, free: 2.234 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)