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.001188/0.001189, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001265/0.001265, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.562/1.562, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2414/0.2414, allocations: 43.53 MB / 313.9 MB, free: 0.5117 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.001654/0.001654, allocations: 71.06 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1201, allocations: 57.78 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0189/0.139, allocations: 17.79 MB / 458.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1527, allocations: 5.66 MB / 464 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.1568, allocations: 115.6 kB / 464.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008815/0.1657, allocations: 4.587 MB / 468.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.1763, allocations: 3.027 MB / 471.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.1804, allocations: 1.494 MB / 473.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.1942, allocations: 8.604 MB / 481.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.2047, allocations: 6.476 MB / 488.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006957/0.2116, allocations: 3.01 MB / 491.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007647/0.2193, allocations: 4.292 MB / 495.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002795/0.2222, allocations: 0.6641 MB / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005081/0.2273, allocations: 1.838 MB / 498.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005791/0.2331, allocations: 3.733 MB / 0.49 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.2434, allocations: 4.218 MB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02077/0.2642, allocations: 13.16 MB / 0.507 GB, free: 7.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2643, allocations: 0 / 0.507 GB, free: 7.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2643, allocations: 0 / 0.507 GB, free: 7.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005602/0.2648, allocations: 3.984 kB / 0.507 GB, free: 7.914 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.02939/0.2942, allocations: 9.033 MB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.2943, allocations: 15.89 kB / 0.5158 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.3133, allocations: 4.104 MB / 0.5199 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/0.3292, allocations: 5.306 MB / 0.525 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/0.3299, allocations: 430.9 kB / 0.5254 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/0.3334, allocations: 0.5933 MB / 0.526 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4909/0.8243, allocations: 20.62 MB / 0.5462 GB, free: 73.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006339/0.825, allocations: 83.38 kB / 0.5462 GB, free: 73.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003472/0.8285, allocations: 270.8 kB / 0.5465 GB, free: 73.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006462/0.835, allocations: 3.709 MB / 0.5501 GB, free: 72.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/0.873, allocations: 18.2 MB / 0.5679 GB, free: 58.4 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.1109/0.984, allocations: 74.63 MB / 0.6408 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02101/1.005, allocations: 7.455 MB / 0.6481 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009033/1.014, allocations: 4.109 MB / 0.6521 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03894/1.053, allocations: 18.22 MB / 0.6699 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.662e-05/1.053, allocations: 72.53 kB / 0.6699 GB, free: 15.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=335): time 1.03e-05/1.053, allocations: 0 / 0.6699 GB, free: 15.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=419): time 0.1351/1.188, allocations: 35.1 MB / 0.7042 GB, free: 12.34 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.189, allocations: 196.9 kB / 0.7044 GB, free: 12.11 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.203, allocations: 6.51 MB / 0.7108 GB, free: 5.594 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.204, allocations: 85.7 kB / 0.7108 GB, free: 5.504 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005137/1.209, allocations: 5.372 MB / 0.7161 GB, free: 60 kB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002666/1.212, allocations: 1.546 MB / 0.7176 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006565/1.219, allocations: 2.131 MB / 0.7197 GB, free: 12.35 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.219, allocations: 313.1 kB / 0.72 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008422/1.227, allocations: 4.334 MB / 0.7242 GB, free: 7.707 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3219/1.549, allocations: 10.28 MB / 0.7342 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02223/1.571, allocations: 15.67 MB / 0.7496 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003585/1.572, allocations: 57.25 kB / 0.7496 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.0366/1.608, allocations: 16.36 MB / 0.7656 GB, free: 149 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004711/1.609, allocations: 93.06 kB / 0.7657 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007261/1.61, allocations: 208.7 kB / 0.7659 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008088/1.618, allocations: 2.376 MB / 0.7682 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009365/1.627, allocations: 2.462 MB / 0.7706 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/1.647, allocations: 12.75 MB / 0.783 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/1.661, allocations: 0.5878 MB / 0.7836 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002953/1.664, allocations: 0.5948 MB / 0.7842 GB, free: 140.8 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.01038/1.674, allocations: 3.78 MB / 0.7879 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.676, allocations: 0.5925 MB / 0.7885 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/1.697, allocations: 8.334 MB / 0.7966 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/1.697, allocations: 61.48 kB / 0.7967 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-05/1.697, allocations: 12 kB / 0.7967 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.513e-05/1.697, allocations: 19.92 kB / 0.7967 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04732/1.744, allocations: 18.96 MB / 0.8152 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.728e-05/1.744, allocations: 19.94 kB / 0.8152 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/1.747, allocations: 0.624 MB / 0.8158 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/1.754, allocations: 1.813 MB / 0.8176 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007328/1.754, allocations: 83.67 kB / 0.8177 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/1.77, allocations: 10.84 MB / 0.8283 GB, free: 97.49 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/1.77, allocations: 19.94 kB / 0.8283 GB, free: 97.47 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/1.791, allocations: 12.46 MB / 0.8405 GB, free: 84.82 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/1.795, allocations: 1.165 MB / 0.8416 GB, free: 83.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002082/1.797, allocations: 85.52 kB / 0.8417 GB, free: 83.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004382/1.802, allocations: 203.8 kB / 0.8419 GB, free: 83.35 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.803, allocations: 266.5 kB / 0.8421 GB, free: 83.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004489/1.803, allocations: 116 kB / 0.8422 GB, free: 82.97 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008989/1.812, allocations: 4.052 MB / 0.8462 GB, free: 78.93 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.002e-06/1.812, allocations: 0 / 0.8462 GB, free: 78.93 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0131/1.825, allocations: 1.957 MB / 0.8481 GB, free: 76.98 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.00143/1.827, allocations: 278.2 kB / 0.8484 GB, free: 76.71 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02895/1.856, allocations: 15.9 MB / 0.8639 GB, free: 60.88 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/1.856, allocations: 4 kB / 0.8639 GB, free: 60.88 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005803/1.862, allocations: 3.39 MB / 0.8672 GB, free: 57.46 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/1.87, allocations: 0.8035 MB / 0.868 GB, free: 56.68 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/1.905, allocations: 17.91 MB / 0.8855 GB, free: 38.59 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007816/1.913, allocations: 5.597 MB / 0.8909 GB, free: 32.96 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009005/1.922, allocations: 3.331 MB / 0.8942 GB, free: 29.62 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.924, allocations: 415.4 kB / 0.8946 GB, free: 29.21 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/1.924, allocations: 4 kB / 0.8946 GB, free: 29.21 MB / 0.5138 GB Notification: Performance of Templates: time 0.3775/2.302, allocations: 74.98 MB / 0.9678 GB, free: 138.6 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)