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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00666/0.00666, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3476/0.3476, allocations: 38 MB / 307.9 MB, free: 10.09 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 75.89 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3959, allocations: 56.46 MB / 489.4 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004456/0.4004, allocations: 3.263 MB / 492.7 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.402, allocations: 0.8488 MB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.4023, allocations: 11.88 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.4025, allocations: 69.98 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.4029, allocations: 172.1 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.4032, allocations: 111 kB / 493.9 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.404, allocations: 0.6001 MB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.4044, allocations: 169.5 kB / 494.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.4048, allocations: 227.3 kB / 494.9 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.4053, allocations: 238.9 kB / 495.1 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.4054, allocations: 43.78 kB / 495.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4055, allocations: 43.31 kB / 495.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.4056, allocations: 107.2 kB / 495.3 MB, free: 16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.406, allocations: 267.2 kB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009044/0.4069, allocations: 0.5643 MB / 496.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4069, allocations: 1.125 kB / 496.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4069, allocations: 3.938 kB / 496.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.4069, allocations: 0 / 496.2 MB, free: 15.61 MB / 382.1 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.001316/0.4083, allocations: 0.7512 MB / 496.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.4083, allocations: 14.02 kB / 496.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.4085, allocations: 55.44 kB / 497 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.409, allocations: 319.4 kB / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.409, allocations: 36.5 kB / 497.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.4091, allocations: 53.92 kB / 497.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.4099, allocations: 443.7 kB / 497.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.4099, allocations: 12.58 kB / 497.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.4099, allocations: 20.08 kB / 497.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.41, allocations: 11.25 kB / 497.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.4105, allocations: 311.8 kB / 498.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.4122, allocations: 1.143 MB / 499.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.4132, allocations: 489.1 kB / 499.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.4136, allocations: 210 kB / 500 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.4136, allocations: 6.594 kB / 500 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4136, allocations: 42.17 kB / 0.4883 GB, free: 13.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.875e-06/0.4136, allocations: 0 / 0.4883 GB, free: 13.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002995/0.4166, allocations: 2.144 MB / 0.4904 GB, free: 11.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4167, allocations: 85.41 kB / 0.4905 GB, free: 11.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.417, allocations: 252.9 kB / 0.4907 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.417, allocations: 39.92 kB / 0.4908 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4171, allocations: 207.7 kB / 0.491 GB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.4173, allocations: 267.2 kB / 0.4912 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.4175, allocations: 132.1 kB / 0.4913 GB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.4176, allocations: 363.5 kB / 0.4917 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.4178, allocations: 157.5 kB / 0.4918 GB, free: 10.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.4182, allocations: 281.3 kB / 0.4921 GB, free: 10.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4187, allocations: 471.1 kB / 0.4926 GB, free: 10.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4187, allocations: 1.531 kB / 0.4926 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007777/0.4195, allocations: 0.5613 MB / 0.4931 GB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4196, allocations: 11.98 kB / 0.4931 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4196, allocations: 1.812 kB / 0.4931 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.4196, allocations: 7.188 kB / 0.4931 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.4202, allocations: 177.8 kB / 0.4933 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.4202, allocations: 14.27 kB / 0.4933 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4205, allocations: 28.56 kB / 0.4933 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.4206, allocations: 27 kB / 0.4934 GB, free: 9.883 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.4208, allocations: 179.6 kB / 0.4935 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.4209, allocations: 42.34 kB / 0.4936 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.421, allocations: 55.53 kB / 0.4936 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.421, allocations: 7.5 kB / 0.4936 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.421, allocations: 1.25 kB / 0.4936 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.421, allocations: 3.562 kB / 0.4936 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.423, allocations: 1.448 MB / 0.4951 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4231, allocations: 3.281 kB / 0.4951 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.4237, allocations: 161.4 kB / 0.4952 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.4237, allocations: 5.688 kB / 0.4952 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.4237, allocations: 19.62 kB / 0.4952 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.4238, allocations: 7.312 kB / 0.4952 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.4238, allocations: 3.188 kB / 0.4952 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4249, allocations: 0.9199 MB / 0.4961 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.425, allocations: 121.1 kB / 0.4963 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.425, allocations: 24.19 kB / 0.4963 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4253, allocations: 17.47 kB / 0.4963 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.4254, allocations: 50.77 kB / 0.4963 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.4254, allocations: 21.06 kB / 0.4964 GB, free: 7.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.4256, allocations: 178.5 kB / 0.4965 GB, free: 7.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4256, allocations: 0 / 0.4965 GB, free: 7.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006229/0.4263, allocations: 147.5 kB / 0.4967 GB, free: 7.824 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001354/0.4264, allocations: 121.7 kB / 0.4968 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007617/0.4272, allocations: 464.2 kB / 0.4972 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4272, allocations: 5.5 kB / 0.4972 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.4275, allocations: 238 kB / 0.4975 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.4284, allocations: 131.7 kB / 0.4976 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.4309, allocations: 1.642 MB / 0.4992 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4313, allocations: 0.8451 MB / 0.5 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.4315, allocations: 67.14 kB / 0.5001 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4317, allocations: 41.72 kB / 0.5001 GB, free: 5.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4317, allocations: 0 / 0.5001 GB, free: 5.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01171/0.4434, allocations: 5.569 MB / 0.5056 GB, free: 3.316 MB / 382.1 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)