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.001543/0.001543, allocations: 96.14 kB / 15.87 MB, free: 16 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.001586/0.001586, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.726/1.726, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.4271/0.4271, allocations: 43.5 MB / 313.5 MB, free: 8.262 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.001451/0.001451, allocations: 66.56 kB / 382 MB, free: 8.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.148, allocations: 57.79 MB / 439.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3351/0.4831, allocations: 63.14 MB / 0.4912 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03582/0.519, allocations: 13.23 MB / 0.5041 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01966/0.5388, allocations: 282.2 kB / 0.5044 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.5505, allocations: 4.561 MB / 0.5088 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.5635, allocations: 2.857 MB / 0.5116 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005264/0.5688, allocations: 1.381 MB / 0.513 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.5915, allocations: 12.02 MB / 0.5247 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.6024, allocations: 6.311 MB / 0.5309 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005851/0.6083, allocations: 2.659 MB / 0.5335 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/0.6163, allocations: 4.502 MB / 0.5378 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002386/0.6187, allocations: 456 kB / 0.5383 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/0.6243, allocations: 1.716 MB / 0.54 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005838/0.6302, allocations: 3.565 MB / 0.5434 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.6402, allocations: 4.019 MB / 0.5474 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01874/0.659, allocations: 12.97 MB / 0.56 GB, free: 6.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6591, allocations: 0 / 0.56 GB, free: 6.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.6591, allocations: 4 kB / 0.56 GB, free: 6.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005315/0.6597, allocations: 0 / 0.56 GB, free: 6.062 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.02665/0.6863, allocations: 9.034 MB / 0.5689 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.6864, allocations: 8.031 kB / 0.5689 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.7035, allocations: 4.1 MB / 0.5729 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/0.7204, allocations: 5.299 MB / 0.578 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008281/0.7213, allocations: 430.9 kB / 0.5785 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004137/0.7254, allocations: 0.601 MB / 0.579 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05637/0.7818, allocations: 20.63 MB / 0.5992 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/0.7822, allocations: 79.3 kB / 0.5993 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.7834, allocations: 271.7 kB / 0.5995 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005847/0.7893, allocations: 3.71 MB / 0.6031 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03912/0.8284, allocations: 18.21 MB / 0.6209 GB, free: 6.371 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.5718/1.4, allocations: 74.63 MB / 0.6938 GB, free: 85.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/1.421, allocations: 7.452 MB / 0.7011 GB, free: 82.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006642/1.427, allocations: 4.115 MB / 0.7051 GB, free: 81.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0353/1.463, allocations: 18.22 MB / 0.7229 GB, free: 71.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.701e-05/1.463, allocations: 71.91 kB / 0.723 GB, free: 71.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 9.948e-06/1.463, allocations: 3.938 kB / 0.723 GB, free: 71.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.119/1.582, allocations: 35.1 MB / 0.7572 GB, free: 39.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/1.582, allocations: 204.8 kB / 0.7574 GB, free: 38.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.595, allocations: 6.514 MB / 0.7638 GB, free: 32.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001479/1.597, allocations: 81.7 kB / 0.7639 GB, free: 32.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004119/1.601, allocations: 5.372 MB / 0.7691 GB, free: 26.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.603, allocations: 1.542 MB / 0.7706 GB, free: 25.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004671/1.608, allocations: 2.138 MB / 0.7727 GB, free: 23.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/1.608, allocations: 301.1 kB / 0.773 GB, free: 22.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006488/1.614, allocations: 4.335 MB / 0.7772 GB, free: 18.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009562/1.624, allocations: 10.28 MB / 0.7873 GB, free: 5.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02037/1.644, allocations: 15.67 MB / 0.8026 GB, free: 2.684 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002371/1.645, allocations: 64 kB / 0.8026 GB, free: 2.621 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03947/1.684, allocations: 16.34 MB / 0.8186 GB, free: 2.246 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/1.684, allocations: 92 kB / 0.8187 GB, free: 2.156 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002901/1.685, allocations: 208 kB / 0.8189 GB, free: 1.953 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3651/2.05, allocations: 2.384 MB / 0.8212 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00905/2.059, allocations: 2.456 MB / 0.8236 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/2.077, allocations: 11.9 MB / 0.8352 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.087, allocations: 0.589 MB / 0.8358 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/2.09, allocations: 0.5989 MB / 0.8364 GB, free: 149.4 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.009957/2.1, allocations: 3.775 MB / 0.8401 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/2.102, allocations: 0.5972 MB / 0.8407 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/2.121, allocations: 8.325 MB / 0.8488 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/2.121, allocations: 65.69 kB / 0.8489 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.705e-05/2.121, allocations: 10.5 kB / 0.8489 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/2.121, allocations: 18.66 kB / 0.8489 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05363/2.175, allocations: 18.96 MB / 0.8674 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-05/2.175, allocations: 15.47 kB / 0.8674 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/2.178, allocations: 0.6212 MB / 0.868 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007018/2.186, allocations: 1.804 MB / 0.8698 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009879/2.187, allocations: 80.86 kB / 0.8699 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/2.203, allocations: 9.992 MB / 0.8796 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-05/2.203, allocations: 18.19 kB / 0.8796 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02345/2.227, allocations: 12.48 MB / 0.8918 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004523/2.231, allocations: 1.16 MB / 0.893 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/2.233, allocations: 79.09 kB / 0.893 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004634/2.238, allocations: 204.1 kB / 0.8932 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/2.24, allocations: 265.1 kB / 0.8935 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006016/2.24, allocations: 119.8 kB / 0.8936 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008692/2.249, allocations: 4.052 MB / 0.8975 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.71e-07/2.249, allocations: 0 / 0.8975 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01295/2.262, allocations: 1.957 MB / 0.8995 GB, free: 117.4 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.00163/2.264, allocations: 293.6 kB / 0.8997 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01806/2.282, allocations: 10.11 MB / 0.9096 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/2.282, allocations: 0 / 0.9096 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006042/2.288, allocations: 3.409 MB / 0.9129 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/2.295, allocations: 0.7519 MB / 0.9137 GB, free: 103 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/2.333, allocations: 21.73 MB / 0.9349 GB, free: 81.11 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00734/2.34, allocations: 5.604 MB / 0.9404 GB, free: 75.48 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008213/2.349, allocations: 3.318 MB / 0.9436 GB, free: 72.16 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/2.35, allocations: 419.4 kB / 0.944 GB, free: 71.75 MB / 0.5138 GB Notification: Performance of SimCode: time 1.563e-06/2.35, allocations: 0 / 0.944 GB, free: 71.75 MB / 0.5138 GB Notification: Performance of Templates: time 0.3875/2.738, allocations: 72.18 MB / 1.015 GB, free: 142.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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)