Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00988/0.00988, allocations: 173.8 kB / 15.13 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.422/2.422, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 116.2 kB / 255.6 MB, free: 11.19 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2655/0.2655, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 12.86 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 54.87 MB / 461.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.07843/0.2193, allocations: 50.75 MB / 0.4999 GB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03385/0.2532, allocations: 11.31 MB / 0.5109 GB, free: 5.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009837/0.2631, allocations: 235.4 kB / 0.5112 GB, free: 4.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008579/0.2717, allocations: 2.461 MB / 0.5136 GB, free: 2.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02918/0.3009, allocations: 8.618 MB / 0.522 GB, free: 9.695 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005776/0.3068, allocations: 1.065 MB / 0.523 GB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.3959/0.7027, allocations: 19.83 MB / 0.5424 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.719, allocations: 7.042 MB / 0.5493 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.7242, allocations: 2.114 MB / 0.5513 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007373/0.7316, allocations: 3.501 MB / 0.5548 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001967/0.7337, allocations: 262.9 kB / 0.555 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/0.7388, allocations: 1.33 MB / 0.5563 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005191/0.7441, allocations: 2.905 MB / 0.5591 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.7473, allocations: 1.379 MB / 0.5605 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.7617, allocations: 9.662 MB / 0.5699 GB, free: 5.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.7617, allocations: 0 / 0.5699 GB, free: 5.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7618, allocations: 0 / 0.5699 GB, free: 5.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000471/0.7622, allocations: 0 / 0.5699 GB, free: 5.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02284/0.7851, allocations: 6.674 MB / 0.5764 GB, free: 1.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.7852, allocations: 9.25 kB / 0.5765 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004823/0.79, allocations: 1.304 MB / 0.5777 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05697/0.847, allocations: 5.811 MB / 0.5834 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/0.8657, allocations: 5.492 MB / 0.5888 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/0.8664, allocations: 398.6 kB / 0.5891 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003272/0.8696, allocations: 0.551 MB / 0.5897 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06482/0.9345, allocations: 18.82 MB / 0.6081 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000388/0.935, allocations: 74.02 kB / 0.6081 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/0.9375, allocations: 251 kB / 0.6084 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009894/0.9475, allocations: 3.422 MB / 0.6117 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05751/1.005, allocations: 16.49 MB / 0.6278 GB, free: 9.984 MB / 426.7 MB 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 0.143/1.148, allocations: 66.71 MB / 0.693 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02832/1.176, allocations: 6.271 MB / 0.6991 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007419/1.184, allocations: 2.838 MB / 0.7019 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3934/1.577, allocations: 13.9 MB / 0.7154 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/1.578, allocations: 61.75 kB / 0.7155 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 8.075e-06/1.578, allocations: 0 / 0.7155 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=354): time 0.1838/1.761, allocations: 26.54 MB / 0.7414 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/1.762, allocations: 191.2 kB / 0.7416 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.774, allocations: 5.895 MB / 0.7474 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007989/1.775, allocations: 73.33 kB / 0.7474 GB, free: 171.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004384/1.779, allocations: 4.965 MB / 0.7523 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.782, allocations: 1.313 MB / 0.7536 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.783, allocations: 190.2 kB / 0.7537 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006726/1.783, allocations: 0.712 MB / 0.7544 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009069/1.793, allocations: 3.354 MB / 0.7577 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/1.805, allocations: 8.793 MB / 0.7663 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.818, allocations: 5.333 MB / 0.7715 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/1.818, allocations: 56 kB / 0.7716 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.05066/1.869, allocations: 12.98 MB / 0.7842 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/1.869, allocations: 87.95 kB / 0.7843 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004107/1.869, allocations: 192 kB / 0.7845 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/1.881, allocations: 1.422 MB / 0.7859 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/1.899, allocations: 2.16 MB / 0.788 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/1.925, allocations: 7.759 MB / 0.7956 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01494/1.94, allocations: 0.4924 MB / 0.7961 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/1.942, allocations: 0.539 MB / 0.7966 GB, free: 122.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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.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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01172/1.954, allocations: 3.451 MB / 0.7999 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.956, allocations: 0.5283 MB / 0.8005 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02675/1.982, allocations: 5.734 MB / 0.8061 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/1.983, allocations: 39.98 kB / 0.8061 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/1.983, allocations: 8 kB / 0.8061 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.924e-05/1.983, allocations: 11.95 kB / 0.8061 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04979/2.033, allocations: 14.69 MB / 0.8205 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-05/2.033, allocations: 18.12 kB / 0.8205 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00443/2.037, allocations: 0.5109 MB / 0.821 GB, free: 97.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005924/2.043, allocations: 0.7767 MB / 0.8217 GB, free: 96.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006482/2.044, allocations: 72.94 kB / 0.8218 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/2.057, allocations: 5.098 MB / 0.8268 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/2.057, allocations: 19.94 kB / 0.8268 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/2.079, allocations: 8.368 MB / 0.835 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003627/2.083, allocations: 0.9429 MB / 0.8359 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.085, allocations: 73.7 kB / 0.836 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/2.09, allocations: 140.9 kB / 0.8361 GB, free: 81.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009989/2.091, allocations: 229.4 kB / 0.8363 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/2.091, allocations: 111.5 kB / 0.8364 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009134/2.1, allocations: 3.672 MB / 0.84 GB, free: 77.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.42e-07/2.1, allocations: 0 / 0.84 GB, free: 77.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01107/2.111, allocations: 1.634 MB / 0.8416 GB, free: 75.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (280): * Single equations (assignments): 273 * Array equations: 6 * 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 {(2,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.025/2.136, allocations: 9.127 MB / 0.8505 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02251/2.159, allocations: 7.857 MB / 0.8582 GB, free: 58.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.904e-05/2.159, allocations: 4 kB / 0.8582 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.169, allocations: 2.372 MB / 0.8605 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/2.18, allocations: 0.7012 MB / 0.8612 GB, free: 55.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5679/2.748, allocations: 58.73 MB / 0.9186 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01284/2.761, allocations: 5.337 MB / 0.9238 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01423/2.775, allocations: 2.978 MB / 0.9267 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007988/2.783, allocations: 3.337 MB / 0.9299 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/2.783, allocations: 0 / 0.9299 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/3.052, allocations: 125.1 MB / 1.052 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/3.052, allocations: 211.7 kB / 1.052 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/11.25, allocations: 0 / 1.052 GB, free: 43.45 MB / 0.4948 GB