Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002071/0.002071, allocations: 114.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003783/0.003783, allocations: 207.9 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.961/2.961, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5535/0.5535, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002454, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7981, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.05239/0.8505, allocations: 17.63 MB / 0.5489 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02981/0.8804, allocations: 5.697 MB / 0.5544 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.891, allocations: 111.7 kB / 0.5545 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02033/0.9115, allocations: 4.571 MB / 0.559 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.9302, allocations: 2.976 MB / 0.5619 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.9427, allocations: 1.498 MB / 0.5634 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04004/0.9828, allocations: 8.93 MB / 0.5721 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03418/1.017, allocations: 6.431 MB / 0.5784 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01561/1.033, allocations: 3.014 MB / 0.5813 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02279/1.056, allocations: 4.261 MB / 0.5855 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005057/1.061, allocations: 0.6602 MB / 0.5861 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.074, allocations: 1.842 MB / 0.5879 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01115/1.085, allocations: 3.71 MB / 0.5915 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0161/1.101, allocations: 4.187 MB / 0.5956 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03413/1.136, allocations: 13.48 MB / 0.6088 GB, free: 2.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/1.136, allocations: 3.938 kB / 0.6088 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.755e-06/1.136, allocations: 0 / 0.6088 GB, free: 2.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006636/1.136, allocations: 0 / 0.6088 GB, free: 2.422 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.04982/1.186, allocations: 8.967 MB / 0.6176 GB, free: 9.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/1.186, allocations: 12.03 kB / 0.6176 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03478/1.221, allocations: 4.096 MB / 0.6216 GB, free: 5.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/1.248, allocations: 5.072 MB / 0.6265 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/1.249, allocations: 439 kB / 0.6269 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005707/1.254, allocations: 0.597 MB / 0.6275 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07808/1.333, allocations: 20.62 MB / 0.6477 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005204/1.333, allocations: 83.25 kB / 0.6477 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004354/1.338, allocations: 275.7 kB / 0.648 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01226/1.35, allocations: 3.714 MB / 0.6516 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0784/1.428, allocations: 18.21 MB / 0.6694 GB, free: 2.992 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.443/2.871, allocations: 74.27 MB / 0.7419 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02928/2.901, allocations: 7.463 MB / 0.7492 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009904/2.911, allocations: 4.115 MB / 0.7533 GB, free: 111 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06109/2.972, allocations: 18.29 MB / 0.7711 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/2.972, allocations: 65.69 kB / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 1.156e-05/2.972, allocations: 0 / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1963/3.168, allocations: 34.7 MB / 0.8051 GB, free: 68.62 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/3.168, allocations: 196.4 kB / 0.8053 GB, free: 68.39 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01728/3.186, allocations: 6.462 MB / 0.8116 GB, free: 61.93 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/3.187, allocations: 85.7 kB / 0.8116 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00588/3.193, allocations: 5.367 MB / 0.8169 GB, free: 56.48 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003234/3.196, allocations: 1.541 MB / 0.8184 GB, free: 54.95 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007138/3.203, allocations: 2.134 MB / 0.8205 GB, free: 52.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/3.204, allocations: 301.1 kB / 0.8208 GB, free: 52.51 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01168/3.215, allocations: 4.339 MB / 0.825 GB, free: 48.16 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02168/3.241, allocations: 10.28 MB / 0.835 GB, free: 35.07 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04575/3.287, allocations: 15.68 MB / 0.8504 GB, free: 16.56 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003362/3.287, allocations: 60 kB / 0.8504 GB, free: 16.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.06134/3.349, allocations: 16.36 MB / 0.8664 GB, free: 120 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005331/3.349, allocations: 96 kB / 0.8665 GB, free: 24 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007785/3.35, allocations: 204 kB / 0.8667 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/3.364, allocations: 2.369 MB / 0.869 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/3.381, allocations: 2.46 MB / 0.8714 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0349/3.416, allocations: 12.75 MB / 0.8838 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01616/3.432, allocations: 0.5963 MB / 0.8844 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003556/3.436, allocations: 0.5937 MB / 0.885 GB, free: 12.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01564/3.452, allocations: 3.769 MB / 0.8887 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003377/3.455, allocations: 0.5901 MB / 0.8893 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03139/3.487, allocations: 8.329 MB / 0.8974 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001928/3.487, allocations: 67.86 kB / 0.8975 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.074e-05/3.487, allocations: 12 kB / 0.8975 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/3.487, allocations: 19.92 kB / 0.8975 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06743/3.555, allocations: 18.83 MB / 0.9159 GB, free: 12.92 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.119e-05/3.555, allocations: 16 kB / 0.9159 GB, free: 12.91 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005888/3.561, allocations: 0.6206 MB / 0.9165 GB, free: 12.29 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/3.571, allocations: 1.8 MB / 0.9183 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/3.573, allocations: 91.86 kB / 0.9184 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/3.601, allocations: 10.82 MB / 0.9289 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.518e-05/3.601, allocations: 23.88 kB / 0.9289 GB, free: 15.41 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03886/3.64, allocations: 12.47 MB / 0.9411 GB, free: 2.66 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/3.644, allocations: 0.6262 MB / 0.9417 GB, free: 2.008 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003296/3.647, allocations: 91.77 kB / 0.9418 GB, free: 1.922 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007408/3.654, allocations: 199.7 kB / 0.942 GB, free: 1.727 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/3.656, allocations: 265.7 kB / 0.9423 GB, free: 1.465 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005308/3.657, allocations: 112 kB / 0.9424 GB, free: 1.355 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01388/3.671, allocations: 4.02 MB / 0.9463 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.11e-07/3.671, allocations: 0 / 0.9463 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01903/3.69, allocations: 1.922 MB / 0.9482 GB, free: 11.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 Backend phase and start with SimCode phase: time 0.006131/3.696, allocations: 290.3 kB / 0.9485 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.03854/3.735, allocations: 10.18 MB / 0.9584 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.486e-05/3.735, allocations: 4 kB / 0.9584 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/3.745, allocations: 3.398 MB / 0.9617 GB, free: 13.56 MB / 0.6701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/3.757, allocations: 0.8005 MB / 0.9625 GB, free: 12.77 MB / 0.6701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6379/4.395, allocations: 18.44 MB / 0.9805 GB, free: 245.5 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02913/4.424, allocations: 5.568 MB / 0.9859 GB, free: 244.6 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004642/4.429, allocations: 492 kB / 0.9864 GB, free: 244.6 MB / 0.6701 GB Notification: Performance of SimCode: time 2.765e-06/4.429, allocations: 0.7188 kB / 0.9864 GB, free: 244.6 MB / 0.6701 GB Notification: Performance of Templates: time 0.3381/4.767, allocations: 143.3 MB / 1.126 GB, free: 120.4 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)