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.01123/0.01123, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002296/0.002296, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.603/1.603, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.3311/0.3311, allocations: 38 MB / 307.9 MB, free: 10.18 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.001637/0.001637, allocations: 67.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3525, allocations: 56.46 MB / 489.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004096/0.3566, allocations: 3.28 MB / 492.7 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.358, allocations: 0.8411 MB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.3582, allocations: 11.66 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3585, allocations: 76.11 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.3588, allocations: 178 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.359, allocations: 107 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.3596, allocations: 0.5987 MB / 494.5 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.36, allocations: 176.8 kB / 494.7 MB, free: 16.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.3602, allocations: 227.7 kB / 494.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.3605, allocations: 238.7 kB / 495.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.3606, allocations: 42.31 kB / 495.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.3607, allocations: 44.66 kB / 495.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.3608, allocations: 102.2 kB / 495.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.361, allocations: 268.1 kB / 495.6 MB, free: 16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.3617, allocations: 0.5644 MB / 496.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3617, allocations: 0 / 496.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3617, allocations: 1.188 kB / 496.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3617, allocations: 3.938 kB / 496.2 MB, free: 15.77 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.001029/0.3628, allocations: 0.7557 MB / 496.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3628, allocations: 13.11 kB / 496.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.3629, allocations: 56.25 kB / 497 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3633, allocations: 318.5 kB / 497.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.3634, allocations: 36.5 kB / 497.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.3635, allocations: 53.41 kB / 497.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.3642, allocations: 443.8 kB / 497.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.3642, allocations: 9 kB / 497.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.3643, allocations: 20.66 kB / 497.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3643, allocations: 11.69 kB / 497.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.3648, allocations: 315.3 kB / 498.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3665, allocations: 1.14 MB / 499.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.3672, allocations: 487.4 kB / 499.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3675, allocations: 215 kB / 500 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.3675, allocations: 6.531 kB / 0.4883 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3676, allocations: 42.61 kB / 0.4883 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.753e-06/0.3676, allocations: 0 / 0.4883 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002695/0.3703, allocations: 2.132 MB / 0.4904 GB, free: 11.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3703, allocations: 85.05 kB / 0.4905 GB, free: 11.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3706, allocations: 252.7 kB / 0.4907 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3706, allocations: 41.05 kB / 0.4908 GB, free: 11.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3707, allocations: 214.5 kB / 0.491 GB, free: 11.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.3709, allocations: 272 kB / 0.4912 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.371, allocations: 119.4 kB / 0.4913 GB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.3711, allocations: 364 kB / 0.4917 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.3714, allocations: 157.2 kB / 0.4918 GB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.3717, allocations: 281.3 kB / 0.4921 GB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.3724, allocations: 473.2 kB / 0.4926 GB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3724, allocations: 1.281 kB / 0.4926 GB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008439/0.3732, allocations: 0.5631 MB / 0.4931 GB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3732, allocations: 7.031 kB / 0.4931 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3733, allocations: 7.781 kB / 0.4931 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.3733, allocations: 5.5 kB / 0.4931 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.3739, allocations: 186.2 kB / 0.4933 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3739, allocations: 7.25 kB / 0.4933 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3742, allocations: 28.25 kB / 0.4933 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.3742, allocations: 26.5 kB / 0.4934 GB, free: 10.04 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.0001561/0.3744, allocations: 180.5 kB / 0.4935 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.3745, allocations: 45.78 kB / 0.4936 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3746, allocations: 58.3 kB / 0.4936 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3746, allocations: 9.297 kB / 0.4937 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.3746, allocations: 0 / 0.4937 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.3747, allocations: 5.547 kB / 0.4937 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.3766, allocations: 1.436 MB / 0.4951 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3766, allocations: 6.922 kB / 0.4951 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.3773, allocations: 161.2 kB / 0.4952 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.3773, allocations: 5.5 kB / 0.4952 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.3773, allocations: 20.95 kB / 0.4952 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.3774, allocations: 14.08 kB / 0.4953 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3774, allocations: 4.281 kB / 0.4953 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3786, allocations: 0.9115 MB / 0.4962 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3787, allocations: 116.9 kB / 0.4963 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.3788, allocations: 25.17 kB / 0.4963 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.379, allocations: 15.81 kB / 0.4963 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.3791, allocations: 49.69 kB / 0.4963 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3792, allocations: 26.02 kB / 0.4964 GB, free: 8.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3793, allocations: 182.4 kB / 0.4965 GB, free: 8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3793, allocations: 0 / 0.4965 GB, free: 8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.3799, allocations: 144.1 kB / 0.4967 GB, free: 7.98 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.0001379/0.38, allocations: 122.1 kB / 0.4968 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006898/0.3807, allocations: 460.4 kB / 0.4972 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3807, allocations: 4 kB / 0.4972 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.3811, allocations: 235.4 kB / 0.4975 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.3819, allocations: 131 kB / 0.4976 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.3841, allocations: 1.645 MB / 0.4992 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3845, allocations: 0.8461 MB / 0.5 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.3847, allocations: 60.38 kB / 0.5001 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3848, allocations: 41.81 kB / 0.5001 GB, free: 5.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3848, allocations: 0.9688 kB / 0.5001 GB, free: 5.664 MB / 382.1 MB Notification: Performance of Templates: time 0.01334/0.3982, allocations: 5.43 MB / 0.5054 GB, free: 3.453 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)