Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007729/0.000773, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005069/0.005069, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.385/1.385, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2902/0.2902, allocations: 38.04 MB / 308.8 MB, free: 10.29 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009383/0.0009384, allocations: 12.22 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.105, allocations: 57.51 MB / 434.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2374/0.3425, allocations: 56.76 MB / 491.3 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03066/0.3732, allocations: 12.25 MB / 0.4918 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/0.3861, allocations: 248.3 kB / 0.492 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.3885, allocations: 0.6751 MB / 0.4927 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.3956, allocations: 2.615 MB / 0.4952 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.398, allocations: 1.156 MB / 0.4963 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.4105, allocations: 10.52 MB / 0.5066 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.4246, allocations: 7.843 MB / 0.5143 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.4298, allocations: 2.003 MB / 0.5162 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006484/0.4363, allocations: 3.541 MB / 0.5197 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.4387, allocations: 263 kB / 0.5199 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005127/0.4438, allocations: 1.498 MB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005059/0.4489, allocations: 2.965 MB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006572/0.4555, allocations: 3.374 MB / 0.5276 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4695, allocations: 11.49 MB / 0.5388 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4695, allocations: 0 / 0.5388 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4695, allocations: 0 / 0.5388 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003919/0.4699, allocations: 3.938 kB / 0.5388 GB, free: 1.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01567/0.4856, allocations: 6.455 MB / 0.5451 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4857, allocations: 12.03 kB / 0.5451 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.5027, allocations: 4.039 MB / 0.5491 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.5134, allocations: 4.409 MB / 0.5534 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/0.5138, allocations: 398 kB / 0.5538 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/0.5161, allocations: 0.5464 MB / 0.5543 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/0.5508, allocations: 18.93 MB / 0.5728 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.5511, allocations: 67.45 kB / 0.5728 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007194/0.5518, allocations: 251.7 kB / 0.5731 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004806/0.5566, allocations: 3.432 MB / 0.5764 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03437/0.591, allocations: 16.68 MB / 0.5927 GB, free: 8.816 MB / 462.1 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.5103/1.101, allocations: 66.86 MB / 0.658 GB, free: 98.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.116, allocations: 6.284 MB / 0.6642 GB, free: 96.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/1.121, allocations: 2.818 MB / 0.6669 GB, free: 96.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02144/1.142, allocations: 13.82 MB / 0.6804 GB, free: 89.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.142, allocations: 71.47 kB / 0.6805 GB, free: 89.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 7.525e-06/1.142, allocations: 0 / 0.6805 GB, free: 89.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.08523/1.227, allocations: 25.29 MB / 0.7052 GB, free: 81.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.227, allocations: 183.4 kB / 0.7054 GB, free: 81.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/1.236, allocations: 5.92 MB / 0.7111 GB, free: 79.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005779/1.236, allocations: 76.36 kB / 0.7112 GB, free: 79.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002377/1.239, allocations: 4.953 MB / 0.716 GB, free: 75.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.24, allocations: 1.293 MB / 0.7173 GB, free: 74.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/1.241, allocations: 0.8118 MB / 0.7181 GB, free: 74.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/1.241, allocations: 301.1 kB / 0.7184 GB, free: 73.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/1.245, allocations: 3.351 MB / 0.7217 GB, free: 72.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006845/1.252, allocations: 8.882 MB / 0.7303 GB, free: 64.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/1.267, allocations: 13.18 MB / 0.7432 GB, free: 50.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002632/1.267, allocations: 56 kB / 0.7433 GB, free: 50.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02286/1.29, allocations: 13 MB / 0.756 GB, free: 37.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.29, allocations: 88.19 kB / 0.756 GB, free: 37.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/1.29, allocations: 200 kB / 0.7562 GB, free: 37.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/1.294, allocations: 1.321 MB / 0.7575 GB, free: 35.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/1.301, allocations: 2.203 MB / 0.7597 GB, free: 33.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009969/1.311, allocations: 7.303 MB / 0.7668 GB, free: 26.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006831/1.318, allocations: 0.5033 MB / 0.7673 GB, free: 25.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.319, allocations: 0.5547 MB / 0.7678 GB, free: 25.06 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (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.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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00536/1.325, allocations: 3.451 MB / 0.7712 GB, free: 21.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000922/1.325, allocations: 0.5244 MB / 0.7717 GB, free: 21.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009671/1.335, allocations: 5.402 MB / 0.777 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/1.335, allocations: 39.28 kB / 0.777 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.335, allocations: 8 kB / 0.777 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/1.335, allocations: 19.94 kB / 0.7771 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.358, allocations: 14.02 MB / 0.7907 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.358, allocations: 12 kB / 0.7908 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.36, allocations: 0.4953 MB / 0.7912 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/1.363, allocations: 0.8067 MB / 0.792 GB, free: 15.98 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.364, allocations: 71.94 kB / 0.7921 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008861/1.372, allocations: 5.333 MB / 0.7973 GB, free: 10.45 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.372, allocations: 19.94 kB / 0.7973 GB, free: 10.43 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.387, allocations: 8.295 MB / 0.8054 GB, free: 1.84 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.389, allocations: 0.9314 MB / 0.8063 GB, free: 0.8828 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007564/1.39, allocations: 61.98 kB / 0.8064 GB, free: 0.8242 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.392, allocations: 139.5 kB / 0.8065 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/1.393, allocations: 221.4 kB / 0.8067 GB, free: 488 kB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.393, allocations: 104.8 kB / 0.8068 GB, free: 384 kB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006097/1.399, allocations: 3.674 MB / 0.8104 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.663e-06/1.399, allocations: 0.75 kB / 0.8104 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008737/1.408, allocations: 1.656 MB / 0.812 GB, free: 11.09 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008673/1.409, allocations: 267.3 kB / 0.8123 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.422, allocations: 7.884 MB / 0.82 GB, free: 2.957 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.422, allocations: 256 / 0.82 GB, free: 2.957 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/1.427, allocations: 2.38 MB / 0.8223 GB, free: 0.5703 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2415/1.668, allocations: 0.6764 MB / 0.823 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/1.698, allocations: 18.96 MB / 0.8415 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007133/1.706, allocations: 5.168 MB / 0.8465 GB, free: 147.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007344/1.713, allocations: 2.963 MB / 0.8494 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.714, allocations: 386.9 kB / 0.8498 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of SimCode: time 9.72e-07/1.714, allocations: 0 / 0.8498 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1168/1.831, allocations: 58.01 MB / 0.9065 GB, free: 119.1 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) Environment - environmentSimulation: