Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009392/0.009392, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.568/1.568, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.04977/0.2999, allocations: 52.06 MB / 379.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03712/0.3371, allocations: 11.15 MB / 390.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01642/0.3536, allocations: 227.4 kB / 390.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3564, allocations: 0.6104 MB / 391.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.3675, allocations: 2.421 MB / 393.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.371, allocations: 0.9127 MB / 394.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01658/0.3876, allocations: 9.435 MB / 403.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.3995, allocations: 5.725 MB / 409.6 MB, free: 496 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/0.4049, allocations: 1.754 MB / 411.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007293/0.4122, allocations: 3.146 MB / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.4142, allocations: 236 kB / 414.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/0.4192, allocations: 1.33 MB / 416 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.4245, allocations: 2.629 MB / 418.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006456/0.431, allocations: 2.978 MB / 421.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.4468, allocations: 9.689 MB / 431.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4468, allocations: 4 kB / 431.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.4469, allocations: 0 / 431.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006157/0.4475, allocations: 0 / 431.3 MB, free: 10.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01813/0.4656, allocations: 6.059 MB / 437.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4657, allocations: 8.031 kB / 437.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.4834, allocations: 4.04 MB / 441.5 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.4956, allocations: 4.208 MB / 445.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.4961, allocations: 312.4 kB / 446 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.4985, allocations: 431.6 kB / 446.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2353/0.7338, allocations: 15.74 MB / 462.1 MB, free: 106.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.7341, allocations: 63.22 kB / 462.2 MB, free: 106.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.7348, allocations: 210 kB / 462.4 MB, free: 106.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004987/0.7398, allocations: 3.213 MB / 465.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/0.7657, allocations: 14.15 MB / 479.8 MB, free: 97.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07205/0.8378, allocations: 57.79 MB / 0.5249 GB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.8504, allocations: 6.557 MB / 0.5314 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/0.8547, allocations: 3.684 MB / 0.5349 GB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/0.8754, allocations: 14.66 MB / 0.5493 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.8756, allocations: 72.5 kB / 0.5493 GB, free: 13.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 6.482e-06/0.8756, allocations: 0 / 0.5493 GB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=339): time 0.1599/1.035, allocations: 42.66 MB / 0.591 GB, free: 2.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/1.036, allocations: 217.9 kB / 0.5912 GB, free: 2.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/1.049, allocations: 5.494 MB / 0.5966 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.051, allocations: 77.69 kB / 0.5966 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005068/1.056, allocations: 4.346 MB / 0.6009 GB, free: 8.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002204/1.058, allocations: 1.265 MB / 0.6021 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/1.06, allocations: 0.7722 MB / 0.6029 GB, free: 6.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/1.06, allocations: 305.1 kB / 0.6032 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008281/1.068, allocations: 4.804 MB / 0.6078 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2674/1.336, allocations: 9.811 MB / 0.6174 GB, free: 137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01851/1.355, allocations: 15.57 MB / 0.6326 GB, free: 125.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002874/1.355, allocations: 53.09 kB / 0.6327 GB, free: 125.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04456/1.399, allocations: 19.58 MB / 0.6518 GB, free: 116.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.4, allocations: 80 kB / 0.6519 GB, free: 116 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.4, allocations: 172 kB / 0.652 GB, free: 115.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/1.422, allocations: 5.97 MB / 0.6579 GB, free: 109.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007286/1.429, allocations: 2.114 MB / 0.6599 GB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/1.456, allocations: 24.79 MB / 0.6842 GB, free: 82.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/1.465, allocations: 0.5599 MB / 0.6847 GB, free: 82.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.467, allocations: 0.509 MB / 0.6852 GB, free: 81.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006137/1.473, allocations: 3.106 MB / 0.6882 GB, free: 78.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.474, allocations: 499.4 kB / 0.6887 GB, free: 78.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02867/1.503, allocations: 12.95 MB / 0.7014 GB, free: 65.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.435e-05/1.503, allocations: 56.53 kB / 0.7014 GB, free: 65.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/1.503, allocations: 8 kB / 0.7014 GB, free: 65.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-05/1.503, allocations: 15.94 kB / 0.7014 GB, free: 65.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0472/1.55, allocations: 24.65 MB / 0.7255 GB, free: 40.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/1.55, allocations: 4 kB / 0.7255 GB, free: 40.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/1.553, allocations: 0.5832 MB / 0.7261 GB, free: 39.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/1.572, allocations: 4.997 MB / 0.731 GB, free: 34.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007198/1.573, allocations: 60.69 kB / 0.731 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/1.595, allocations: 19.99 MB / 0.7505 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.595, allocations: 11.94 kB / 0.7506 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3159/1.911, allocations: 17.46 MB / 0.7676 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004349/1.915, allocations: 1.257 MB / 0.7688 GB, free: 128.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.917, allocations: 66.41 kB / 0.7689 GB, free: 128.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003264/1.92, allocations: 263.7 kB / 0.7691 GB, free: 128.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008054/1.921, allocations: 196.5 kB / 0.7693 GB, free: 128.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/1.921, allocations: 86.78 kB / 0.7694 GB, free: 128.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005287/1.926, allocations: 3.422 MB / 0.7728 GB, free: 127.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.926, allocations: 0 / 0.7728 GB, free: 127.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01025/1.937, allocations: 1.76 MB / 0.7745 GB, free: 127 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008179/1.937, allocations: 210.1 kB / 0.7747 GB, free: 126.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01695/1.954, allocations: 10.93 MB / 0.7853 GB, free: 122.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.954, allocations: 0 / 0.7853 GB, free: 122.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005575/1.96, allocations: 4.102 MB / 0.7894 GB, free: 121.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007449/1.967, allocations: 0.5874 MB / 0.7899 GB, free: 120.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/1.996, allocations: 19.32 MB / 0.8088 GB, free: 107.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/2.001, allocations: 4.627 MB / 0.8133 GB, free: 104.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00654/2.007, allocations: 2.969 MB / 0.8162 GB, free: 102.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/2.009, allocations: 350.9 kB / 0.8165 GB, free: 101.9 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/2.009, allocations: 0 / 0.8165 GB, free: 101.9 MB / 430.1 MB Notification: Performance of Templates: time 0.1111/2.12, allocations: 76.78 MB / 0.8915 GB, free: 25.55 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)