Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3969, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01691/0.4139, allocations: 13.39 MB / 0.5447 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.4268, allocations: 4.798 MB / 0.5494 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.43, allocations: 93.47 kB / 0.5495 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007184/0.4373, allocations: 3.732 MB / 0.5531 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.4441, allocations: 2.213 MB / 0.5553 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.4471, allocations: 1.08 MB / 0.5564 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009483/0.4566, allocations: 6.658 MB / 0.5629 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006272/0.4629, allocations: 4.506 MB / 0.5673 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.467, allocations: 2.021 MB / 0.5692 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004718/0.4717, allocations: 2.742 MB / 0.5719 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.4739, allocations: 428 kB / 0.5723 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.4796, allocations: 1.447 MB / 0.5737 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006788/0.4864, allocations: 2.474 MB / 0.5761 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00865/0.4951, allocations: 2.765 MB / 0.5788 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01915/0.5143, allocations: 8.762 MB / 0.5874 GB, free: 8.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.5144, allocations: 0 / 0.5874 GB, free: 8.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5144, allocations: 0 / 0.5874 GB, free: 8.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003397/0.5147, allocations: 0 / 0.5874 GB, free: 8.441 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02764/0.5424, allocations: 6.242 MB / 0.5935 GB, free: 2.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.5425, allocations: 8.031 kB / 0.5935 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.5553, allocations: 2.525 MB / 0.596 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.5671, allocations: 3.937 MB / 0.5998 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.5674, allocations: 287.7 kB / 0.6001 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.5694, allocations: 387.6 kB / 0.6005 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/0.5964, allocations: 12 MB / 0.6122 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/0.5967, allocations: 59.48 kB / 0.6122 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.5979, allocations: 183.8 kB / 0.6124 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.6015, allocations: 2.143 MB / 0.6145 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6247, allocations: 10.37 MB / 0.6246 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0687/0.6935, allocations: 47.27 MB / 0.6708 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/0.7089, allocations: 5.825 MB / 0.6765 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/0.7131, allocations: 2.979 MB / 0.6794 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01746/0.7306, allocations: 8.857 MB / 0.688 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.7307, allocations: 63.81 kB / 0.6881 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.853e-06/0.7307, allocations: 0 / 0.6881 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4406/1.171, allocations: 34.92 MB / 0.7222 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/1.171, allocations: 209.7 kB / 0.7224 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006661/1.178, allocations: 4.76 MB / 0.7271 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006172/1.179, allocations: 65.52 kB / 0.7271 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.181, allocations: 3.538 MB / 0.7306 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.182, allocations: 0.9744 MB / 0.7315 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/1.184, allocations: 1.423 MB / 0.7329 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/1.184, allocations: 301.1 kB / 0.7332 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.188, allocations: 3.177 MB / 0.7363 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005546/1.194, allocations: 7.043 MB / 0.7432 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009856/1.203, allocations: 10.96 MB / 0.7539 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.204, allocations: 39.19 kB / 0.7539 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02326/1.227, allocations: 13.74 MB / 0.7673 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.227, allocations: 60 kB / 0.7674 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/1.227, allocations: 136 kB / 0.7675 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.238, allocations: 4.393 MB / 0.7718 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.243, allocations: 1.474 MB / 0.7733 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03189/1.275, allocations: 29.02 MB / 0.8016 GB, free: 93.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/1.281, allocations: 412.4 kB / 0.802 GB, free: 92.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.282, allocations: 415.9 kB / 0.8024 GB, free: 92.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004316/1.286, allocations: 2.472 MB / 0.8048 GB, free: 89.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/1.287, allocations: 438.4 kB / 0.8052 GB, free: 89.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.302, allocations: 8.478 MB / 0.8135 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.302, allocations: 23.95 kB / 0.8135 GB, free: 80.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.302, allocations: 0 / 0.8135 GB, free: 80.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.304, allocations: 487.3 kB / 0.814 GB, free: 80.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008429/1.305, allocations: 43.98 kB / 0.814 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.307, allocations: 163.8 kB / 0.8142 GB, free: 80.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005839/1.307, allocations: 233.6 kB / 0.8144 GB, free: 79.93 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02322/1.33, allocations: 8.494 MB / 0.8227 GB, free: 71.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01211/1.343, allocations: 8.243 MB / 0.8308 GB, free: 63.17 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002696/1.345, allocations: 2.432 MB / 0.8331 GB, free: 60.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005572/1.351, allocations: 3.001 MB / 0.8361 GB, free: 57.74 MB / 0.5606 GB Notification: Performance of Backend: time 9.32e-07/1.351, allocations: 0 / 0.8361 GB, free: 57.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01565/1.367, allocations: 6.59 MB / 0.8425 GB, free: 51.18 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02227/1.389, allocations: 11.87 MB / 0.8541 GB, free: 39.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.1216/1.511, allocations: 75.48 MB / 0.9278 GB, free: 12.02 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)