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.001472/0.001472, allocations: 106.6 kB / 17.03 MB, free: 6.129 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.001596/0.001596, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.4/1.4, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001523/0.001523, allocations: 74.22 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09213, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01563/0.1078, allocations: 17.79 MB / 459.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1185, allocations: 5.66 MB / 465.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.1211, allocations: 111.7 kB / 465.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008026/0.1291, allocations: 4.579 MB / 470.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007993/0.1372, allocations: 3.023 MB / 473.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.1412, allocations: 1.494 MB / 474.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01371/0.1549, allocations: 8.626 MB / 483.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/0.1661, allocations: 6.449 MB / 489.7 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007134/0.1733, allocations: 3.03 MB / 492.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007563/0.1809, allocations: 4.288 MB / 497 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.1837, allocations: 0.6602 MB / 497.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.189, allocations: 1.838 MB / 499.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006119/0.1952, allocations: 3.737 MB / 0.4914 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008536/0.2037, allocations: 4.222 MB / 0.4956 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.2213, allocations: 13.59 MB / 0.5088 GB, free: 6.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2213, allocations: 4 kB / 0.5088 GB, free: 6.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2213, allocations: 0 / 0.5088 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005063/0.2218, allocations: 0 / 0.5088 GB, free: 6.73 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02077/0.2426, allocations: 9.025 MB / 0.5177 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2427, allocations: 11.89 kB / 0.5177 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.2584, allocations: 4.108 MB / 0.5217 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.2723, allocations: 5.376 MB / 0.5269 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.2728, allocations: 438.9 kB / 0.5273 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002803/0.2756, allocations: 0.5972 MB / 0.5279 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4401/0.7157, allocations: 20.62 MB / 0.5481 GB, free: 72.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.716, allocations: 72.41 kB / 0.5481 GB, free: 72.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000807/0.7168, allocations: 273.1 kB / 0.5484 GB, free: 72.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.7215, allocations: 3.718 MB / 0.552 GB, free: 71.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/0.7549, allocations: 18.2 MB / 0.5698 GB, free: 57.09 MB / 414.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.09166/0.8467, allocations: 74.3 MB / 0.6424 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/0.8652, allocations: 7.453 MB / 0.6496 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006344/0.8716, allocations: 4.113 MB / 0.6537 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03617/0.9078, allocations: 18.21 MB / 0.6714 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.99e-05/0.9079, allocations: 64.59 kB / 0.6715 GB, free: 14.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=335): time 6.181e-06/0.9079, allocations: 0 / 0.6715 GB, free: 14.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=419): time 0.119/1.027, allocations: 35.1 MB / 0.7058 GB, free: 11.49 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.027, allocations: 196.9 kB / 0.706 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.037, allocations: 6.518 MB / 0.7123 GB, free: 4.738 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009199/1.038, allocations: 81.7 kB / 0.7124 GB, free: 4.652 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004008/1.042, allocations: 5.368 MB / 0.7176 GB, free: 15.21 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.045, allocations: 1.546 MB / 0.7192 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003341/1.048, allocations: 2.135 MB / 0.7212 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.048, allocations: 309.1 kB / 0.7215 GB, free: 11.19 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006784/1.055, allocations: 4.341 MB / 0.7258 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2669/1.322, allocations: 10.28 MB / 0.7358 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02061/1.342, allocations: 15.68 MB / 0.7511 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004063/1.343, allocations: 58.84 kB / 0.7512 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03314/1.376, allocations: 16.36 MB / 0.7671 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002311/1.376, allocations: 94.34 kB / 0.7672 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003046/1.377, allocations: 208.4 kB / 0.7674 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007239/1.384, allocations: 2.365 MB / 0.7697 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008518/1.392, allocations: 2.463 MB / 0.7722 GB, free: 147.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.41, allocations: 12.74 MB / 0.7846 GB, free: 141.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009249/1.42, allocations: 0.5857 MB / 0.7852 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/1.422, allocations: 0.6045 MB / 0.7858 GB, free: 140.6 MB / 0.5138 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.007195/1.429, allocations: 3.772 MB / 0.7894 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.43, allocations: 0.5898 MB / 0.79 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.445, allocations: 8.336 MB / 0.7982 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.932e-05/1.445, allocations: 56.7 kB / 0.7982 GB, free: 130 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.445, allocations: 15.98 kB / 0.7982 GB, free: 130 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-05/1.445, allocations: 17.39 kB / 0.7982 GB, free: 130 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/1.48, allocations: 18.84 MB / 0.8166 GB, free: 111 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/1.48, allocations: 16.81 kB / 0.8167 GB, free: 111 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.483, allocations: 0.6201 MB / 0.8173 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005991/1.489, allocations: 1.815 MB / 0.819 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005242/1.49, allocations: 76.98 kB / 0.8191 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.504, allocations: 10.83 MB / 0.8297 GB, free: 97.61 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.504, allocations: 23.94 kB / 0.8297 GB, free: 97.59 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.522, allocations: 12.47 MB / 0.8419 GB, free: 84.93 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003037/1.525, allocations: 1.165 MB / 0.843 GB, free: 83.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008628/1.526, allocations: 76 kB / 0.8431 GB, free: 83.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/1.529, allocations: 211.6 kB / 0.8433 GB, free: 83.46 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006213/1.529, allocations: 261.6 kB / 0.8435 GB, free: 83.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/1.53, allocations: 117.6 kB / 0.8437 GB, free: 83.09 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005398/1.535, allocations: 4.052 MB / 0.8476 GB, free: 79.04 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.8e-07/1.535, allocations: 4 kB / 0.8476 GB, free: 79.04 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009835/1.545, allocations: 1.953 MB / 0.8495 GB, free: 77.1 MB / 0.5138 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.0009053/1.546, allocations: 285.8 kB / 0.8498 GB, free: 76.82 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.56, allocations: 10.17 MB / 0.8597 GB, free: 66.67 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.56, allocations: 0 / 0.8597 GB, free: 66.67 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004317/1.564, allocations: 3.396 MB / 0.8631 GB, free: 63.25 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.568, allocations: 0.8027 MB / 0.8638 GB, free: 62.47 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.593, allocations: 17.71 MB / 0.8811 GB, free: 44.58 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005799/1.599, allocations: 5.591 MB / 0.8866 GB, free: 38.97 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007115/1.606, allocations: 3.323 MB / 0.8898 GB, free: 35.64 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/1.608, allocations: 419.4 kB / 0.8902 GB, free: 35.23 MB / 0.5138 GB Notification: Performance of SimCode: time 4.187e-06/1.608, allocations: 0 / 0.8902 GB, free: 35.23 MB / 0.5138 GB Notification: Performance of Templates: time 0.3247/1.933, allocations: 66.26 MB / 0.9549 GB, free: 148.4 MB / 0.5138 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)