Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 184.4 kB / 16.92 MB, free: 6.918 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.842/1.842, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4355/0.4355, allocations: 43.58 MB / 315 MB, free: 8.809 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: Performance of FrontEnd - loaded program: time 0.0005372/0.0005375, allocations: 19.97 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1478, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3319/0.4797, allocations: 61.55 MB / 0.4931 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03745/0.5172, allocations: 13.15 MB / 0.506 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01697/0.5342, allocations: 272.3 kB / 0.5063 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.5375, allocations: 0.7349 MB / 0.507 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.5481, allocations: 2.86 MB / 0.5098 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.5532, allocations: 1.388 MB / 0.5111 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02804/0.5812, allocations: 12.02 MB / 0.5229 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.5967, allocations: 8.701 MB / 0.5314 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005731/0.6025, allocations: 2.257 MB / 0.5336 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007101/0.6096, allocations: 4.007 MB / 0.5375 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.6116, allocations: 295.9 kB / 0.5378 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004741/0.6164, allocations: 1.549 MB / 0.5393 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004965/0.6213, allocations: 3.338 MB / 0.5425 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007645/0.629, allocations: 3.743 MB / 0.5462 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.6497, allocations: 12.6 MB / 0.5585 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6498, allocations: 0 / 0.5585 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.741e-06/0.6498, allocations: 4 kB / 0.5585 GB, free: 9.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006633/0.6505, allocations: 0 / 0.5585 GB, free: 9.855 MB / 430.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.0222/0.6727, allocations: 7.438 MB / 0.5658 GB, free: 2.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.6727, allocations: 12.03 kB / 0.5658 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02032/0.6931, allocations: 4.198 MB / 0.5699 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.7068, allocations: 5.291 MB / 0.575 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.7073, allocations: 434.9 kB / 0.5754 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00394/0.7113, allocations: 0.601 MB / 0.576 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05018/0.7615, allocations: 20.68 MB / 0.5962 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003589/0.7619, allocations: 75.31 kB / 0.5963 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002569/0.7645, allocations: 271.7 kB / 0.5966 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007325/0.7718, allocations: 3.718 MB / 0.6002 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04579/0.8177, allocations: 18.25 MB / 0.618 GB, free: 11.56 MB / 494.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.5678/1.386, allocations: 74.56 MB / 0.6908 GB, free: 84.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/1.406, allocations: 7.453 MB / 0.6981 GB, free: 81.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/1.413, allocations: 4.115 MB / 0.7021 GB, free: 79.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02804/1.441, allocations: 18.19 MB / 0.7199 GB, free: 70.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.442, allocations: 70.22 kB / 0.7199 GB, free: 70.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.533e-06/1.442, allocations: 0 / 0.7199 GB, free: 70.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1145/1.556, allocations: 35.41 MB / 0.7545 GB, free: 38.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/1.556, allocations: 196.8 kB / 0.7547 GB, free: 38.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009411/1.566, allocations: 6.51 MB / 0.7611 GB, free: 31.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.567, allocations: 85.7 kB / 0.7612 GB, free: 31.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003761/1.57, allocations: 5.37 MB / 0.7664 GB, free: 26.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002569/1.573, allocations: 1.542 MB / 0.7679 GB, free: 24.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/1.574, allocations: 0.924 MB / 0.7688 GB, free: 23.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/1.574, allocations: 301.1 kB / 0.7691 GB, free: 23.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006117/1.581, allocations: 4.331 MB / 0.7733 GB, free: 19.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009632/1.59, allocations: 10.28 MB / 0.7834 GB, free: 6.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0217/1.612, allocations: 15.67 MB / 0.7987 GB, free: 3.582 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002261/1.612, allocations: 67.56 kB / 0.7987 GB, free: 3.52 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04459/1.657, allocations: 16.35 MB / 0.8147 GB, free: 3.133 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004735/1.657, allocations: 92.97 kB / 0.8148 GB, free: 3.043 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006697/1.658, allocations: 208 kB / 0.815 GB, free: 2.84 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009245/1.667, allocations: 2.369 MB / 0.8173 GB, free: 476 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/1.678, allocations: 2.46 MB / 0.8197 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/1.7, allocations: 11.92 MB / 0.8313 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/1.711, allocations: 0.5852 MB / 0.8319 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002972/1.714, allocations: 0.6041 MB / 0.8325 GB, free: 0.7539 MB / 0.5294 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.3474/2.062, allocations: 3.771 MB / 0.8362 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/2.063, allocations: 0.5922 MB / 0.8368 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/2.081, allocations: 8.336 MB / 0.8449 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/2.081, allocations: 63.17 kB / 0.845 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/2.081, allocations: 9.188 kB / 0.845 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/2.081, allocations: 16.36 kB / 0.845 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/2.119, allocations: 18.95 MB / 0.8635 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/2.119, allocations: 12.48 kB / 0.8635 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003823/2.123, allocations: 0.6242 MB / 0.8641 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008062/2.131, allocations: 1.819 MB / 0.8659 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008604/2.132, allocations: 80.94 kB / 0.866 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/2.151, allocations: 10.01 MB / 0.8758 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-05/2.151, allocations: 18.33 kB / 0.8758 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/2.176, allocations: 12.48 MB / 0.888 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004052/2.18, allocations: 1.178 MB / 0.8891 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.182, allocations: 77.62 kB / 0.8892 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004058/2.186, allocations: 203.6 kB / 0.8894 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008129/2.187, allocations: 270 kB / 0.8896 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/2.187, allocations: 118.5 kB / 0.8897 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00817/2.195, allocations: 4.052 MB / 0.8937 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/2.195, allocations: 0 / 0.8937 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01119/2.206, allocations: 1.956 MB / 0.8956 GB, free: 146.2 MB / 0.5294 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.001585/2.208, allocations: 287.6 kB / 0.8959 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.225, allocations: 10.12 MB / 0.9058 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/2.225, allocations: 4 kB / 0.9058 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005368/2.23, allocations: 3.39 MB / 0.9091 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01711/2.248, allocations: 0.769 MB / 0.9098 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/2.288, allocations: 21.81 MB / 0.9311 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.3, allocations: 5.598 MB / 0.9366 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01067/2.31, allocations: 3.317 MB / 0.9398 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/2.314, allocations: 423.4 kB / 0.9402 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.534e-06/2.314, allocations: 0 / 0.9402 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1355/2.449, allocations: 70.99 MB / 1.01 GB, free: 32.08 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)