Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 178.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 99.36 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4481/0.4481, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005435, allocations: 19.94 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.157, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.355/0.512, allocations: 57.25 MB / 0.5347 GB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03581/0.5479, allocations: 12.55 MB / 0.5469 GB, free: 1.242 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01683/0.5648, allocations: 272.8 kB / 0.5472 GB, free: 1.199 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.5779, allocations: 2.981 MB / 0.5501 GB, free: 140 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03487/0.6128, allocations: 8.993 MB / 0.5589 GB, free: 12.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.6199, allocations: 1.281 MB / 0.5601 GB, free: 11.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0376/0.6575, allocations: 24.62 MB / 0.5842 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.674, allocations: 7.862 MB / 0.5918 GB, free: 2.434 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007235/0.6813, allocations: 2.44 MB / 0.5942 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008866/0.6902, allocations: 3.977 MB / 0.5981 GB, free: 12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002659/0.6929, allocations: 292 kB / 0.5984 GB, free: 11.71 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.6985, allocations: 1.319 MB / 0.5997 GB, free: 10.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006342/0.7049, allocations: 3.273 MB / 0.6029 GB, free: 7.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004348/0.7092, allocations: 1.509 MB / 0.6043 GB, free: 5.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.7256, allocations: 10.47 MB / 0.6146 GB, free: 11.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.062e-05/0.7257, allocations: 0 / 0.6146 GB, free: 11.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.227e-06/0.7257, allocations: 0 / 0.6146 GB, free: 11.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006812/0.7264, allocations: 0 / 0.6146 GB, free: 11.09 MB / 442.7 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.02608/0.7525, allocations: 7.543 MB / 0.6219 GB, free: 3.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7525, allocations: 12.02 kB / 0.6219 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/0.7714, allocations: 4.197 MB / 0.626 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.7854, allocations: 5.203 MB / 0.6311 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006027/0.786, allocations: 434.9 kB / 0.6315 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/0.7895, allocations: 0.6048 MB / 0.6321 GB, free: 8.922 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.8384, allocations: 20.64 MB / 0.6523 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000449/0.8389, allocations: 75.31 kB / 0.6524 GB, free: 3.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/0.8417, allocations: 271.7 kB / 0.6526 GB, free: 2.805 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00655/0.8482, allocations: 3.714 MB / 0.6562 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5237/1.372, allocations: 18.17 MB / 0.674 GB, free: 126.4 MB / 490.8 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.1122/1.484, allocations: 74.54 MB / 0.7468 GB, free: 78.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/1.503, allocations: 7.438 MB / 0.754 GB, free: 75.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00581/1.509, allocations: 4.099 MB / 0.758 GB, free: 73.65 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04222/1.551, allocations: 18.18 MB / 0.7758 GB, free: 60.94 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/1.551, allocations: 68.53 kB / 0.7759 GB, free: 60.86 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 8.766e-06/1.551, allocations: 0 / 0.7759 GB, free: 60.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.1496/1.701, allocations: 36.24 MB / 0.8113 GB, free: 24.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/1.701, allocations: 200.8 kB / 0.8114 GB, free: 24.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00913/1.71, allocations: 6.475 MB / 0.8178 GB, free: 17.77 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.711, allocations: 88.91 kB / 0.8179 GB, free: 17.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003091/1.714, allocations: 5.363 MB / 0.8231 GB, free: 12.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002068/1.716, allocations: 1.546 MB / 0.8246 GB, free: 10.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/1.717, allocations: 216 kB / 0.8248 GB, free: 10.57 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004367/1.717, allocations: 0.7688 MB / 0.8256 GB, free: 9.801 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/1.723, allocations: 4.288 MB / 0.8297 GB, free: 5.508 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/1.735, allocations: 10.23 MB / 0.8397 GB, free: 8.383 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.747, allocations: 6.483 MB / 0.8461 GB, free: 1.887 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.747, allocations: 60 kB / 0.8461 GB, free: 1.828 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03896/1.786, allocations: 16.25 MB / 0.862 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.786, allocations: 99.95 kB / 0.8621 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003589/1.787, allocations: 204 kB / 0.8623 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3468/2.133, allocations: 2.403 MB / 0.8646 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/2.145, allocations: 2.46 MB / 0.867 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/2.166, allocations: 11.9 MB / 0.8787 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/2.177, allocations: 0.5919 MB / 0.8792 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/2.18, allocations: 0.5959 MB / 0.8798 GB, free: 145.1 MB / 0.5105 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 (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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009746/2.19, allocations: 3.785 MB / 0.8835 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/2.192, allocations: 0.5873 MB / 0.8841 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/2.208, allocations: 8.308 MB / 0.8922 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/2.208, allocations: 61.48 kB / 0.8923 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/2.208, allocations: 9.312 kB / 0.8923 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.75e-05/2.208, allocations: 27.08 kB / 0.8923 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04557/2.254, allocations: 18.93 MB / 0.9108 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/2.254, allocations: 15.7 kB / 0.9108 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/2.257, allocations: 0.6223 MB / 0.9114 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00666/2.264, allocations: 1.816 MB / 0.9132 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007577/2.265, allocations: 76.38 kB / 0.9133 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/2.28, allocations: 9.993 MB / 0.923 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/2.28, allocations: 24.3 kB / 0.923 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/2.302, allocations: 12.43 MB / 0.9352 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004141/2.306, allocations: 1.179 MB / 0.9363 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/2.307, allocations: 77 kB / 0.9364 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002817/2.31, allocations: 206.4 kB / 0.9366 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/2.311, allocations: 270.5 kB / 0.9369 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/2.311, allocations: 113 kB / 0.937 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006742/2.318, allocations: 4.02 MB / 0.9409 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.363e-06/2.318, allocations: 0 / 0.9409 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01186/2.33, allocations: 1.96 MB / 0.9428 GB, free: 112.6 MB / 0.5105 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 (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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/2.331, allocations: 263.7 kB / 0.9431 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01591/2.347, allocations: 10.06 MB / 0.9529 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/2.347, allocations: 4 kB / 0.9529 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005692/2.352, allocations: 3.383 MB / 0.9562 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/2.359, allocations: 0.7706 MB / 0.9569 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/2.393, allocations: 21.69 MB / 0.9781 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006913/2.4, allocations: 5.578 MB / 0.9836 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/2.402, allocations: 495.4 kB / 0.9841 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/2.402, allocations: 0 / 0.9841 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.4654/2.868, allocations: 140.7 MB / 1.121 GB, free: 112.9 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)