Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001016/0.001016, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004779/0.0004782, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2801, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04413/0.3243, allocations: 47.45 MB / 373.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.3525, allocations: 11.78 MB / 385.7 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0151/0.3677, allocations: 235.4 kB / 385.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.3775, allocations: 2.356 MB / 388.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02421/0.4017, allocations: 6.779 MB / 395 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004891/0.4066, allocations: 0.8931 MB / 395.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04218/0.4488, allocations: 27.49 MB / 423.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.4597, allocations: 6.537 MB / 430 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.4629, allocations: 1.343 MB / 431.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.466, allocations: 1.772 MB / 433.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.4672, allocations: 184 kB / 433.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.4699, allocations: 1.143 MB / 434.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.4719, allocations: 2.03 MB / 436.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.4731, allocations: 1.045 MB / 437.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.4807, allocations: 7.564 MB / 445 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4807, allocations: 0 / 445 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.4808, allocations: 0 / 445 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002085/0.481, allocations: 4 kB / 445 MB, free: 12.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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01236/0.4933, allocations: 5.222 MB / 450.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4934, allocations: 11.97 kB / 450.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2503/0.7437, allocations: 7.947 MB / 458.2 MB, free: 113.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.755, allocations: 4.227 MB / 462.4 MB, free: 112 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.7555, allocations: 305.3 kB / 462.7 MB, free: 111.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.7575, allocations: 435.9 kB / 463.2 MB, free: 111.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.779, allocations: 12.47 MB / 475.6 MB, free: 103.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.7792, allocations: 48.2 kB / 475.7 MB, free: 103.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004832/0.7797, allocations: 191.8 kB / 475.9 MB, free: 103.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/0.7822, allocations: 2.037 MB / 477.9 MB, free: 101.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.801, allocations: 10.52 MB / 488.4 MB, free: 90.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.8464, allocations: 44.3 MB / 0.5202 GB, free: 45.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.8575, allocations: 4.853 MB / 0.525 GB, free: 40.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.868, allocations: 7.105 MB / 0.5319 GB, free: 33.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.8681, allocations: 51.56 kB / 0.532 GB, free: 33.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 4.359e-06/0.8681, allocations: 0 / 0.532 GB, free: 33.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.056/0.9241, allocations: 19.58 MB / 0.5511 GB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.9242, allocations: 205.9 kB / 0.5513 GB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/0.9289, allocations: 4.74 MB / 0.5559 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.9291, allocations: 61.38 kB / 0.556 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.9306, allocations: 3.566 MB / 0.5595 GB, free: 4.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.9311, allocations: 0.8476 MB / 0.5603 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.9314, allocations: 124.3 kB / 0.5604 GB, free: 3.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.9316, allocations: 0.5668 MB / 0.561 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/0.9341, allocations: 2.203 MB / 0.5631 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/0.9394, allocations: 5.929 MB / 0.5689 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004715/0.9441, allocations: 3.562 MB / 0.5724 GB, free: 5.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-05/0.9442, allocations: 40 kB / 0.5724 GB, free: 5.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01511/0.9593, allocations: 8.98 MB / 0.5812 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.9594, allocations: 60 kB / 0.5812 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.9596, allocations: 132.9 kB / 0.5814 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/0.9631, allocations: 1.226 MB / 0.5826 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/0.9673, allocations: 1.404 MB / 0.5839 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.978, allocations: 7.759 MB / 0.5915 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/0.9824, allocations: 351.3 kB / 0.5918 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/0.983, allocations: 376 kB / 0.5922 GB, free: 1.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (766): * Single equations (assignments): 762 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003707/0.9867, allocations: 2.482 MB / 0.5946 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006873/0.9874, allocations: 406.8 kB / 0.595 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/0.9948, allocations: 3.881 MB / 0.5988 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.9948, allocations: 27.92 kB / 0.5988 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.9948, allocations: 11.95 kB / 0.5988 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.9949, allocations: 15.95 kB / 0.5989 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1911/1.186, allocations: 10.18 MB / 0.6088 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.703e-05/1.186, allocations: 5.672 kB / 0.6088 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.188, allocations: 348.3 kB / 0.6091 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003756/1.192, allocations: 0.9859 MB / 0.6101 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000283/1.192, allocations: 41.34 kB / 0.6101 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008391/1.201, allocations: 6.434 MB / 0.6164 GB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.201, allocations: 7.156 kB / 0.6164 GB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/1.21, allocations: 7.234 MB / 0.6235 GB, free: 135.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/1.212, allocations: 0.7405 MB / 0.6242 GB, free: 134.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/1.212, allocations: 40.38 kB / 0.6243 GB, free: 134.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.213, allocations: 107.3 kB / 0.6244 GB, free: 134.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/1.214, allocations: 146.2 kB / 0.6245 GB, free: 134.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.214, allocations: 58.72 kB / 0.6246 GB, free: 134.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003556/1.217, allocations: 3.026 MB / 0.6275 GB, free: 133.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.217, allocations: 3.656 kB / 0.6275 GB, free: 133.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005728/1.223, allocations: 1.194 MB / 0.6287 GB, free: 133.7 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/1.224, allocations: 229.4 kB / 0.6289 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007012/1.231, allocations: 5.476 MB / 0.6342 GB, free: 131.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.231, allocations: 0 / 0.6342 GB, free: 131.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/1.233, allocations: 1.827 MB / 0.636 GB, free: 130.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/1.236, allocations: 0.5182 MB / 0.6365 GB, free: 130.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.253, allocations: 12.95 MB / 0.6492 GB, free: 119.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/1.256, allocations: 3.98 MB / 0.6531 GB, free: 115.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004421/1.26, allocations: 1.946 MB / 0.655 GB, free: 113.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/1.261, allocations: 275.4 kB / 0.6552 GB, free: 113 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/1.261, allocations: 0 / 0.6552 GB, free: 113 MB / 430.1 MB Notification: Performance of Templates: time 0.06572/1.327, allocations: 43.15 MB / 0.6974 GB, free: 69.87 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) Environment - environmentSimulation: