Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001708/0.001708, allocations: 192 kB / 16.13 MB, free: 6.699 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.714/1.714, allocations: 205.1 MB / 222 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3918/0.3918, allocations: 39.93 MB / 309.3 MB, free: 9.027 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 62.42 kB / 376.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1575, allocations: 56.88 MB / 433.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3649/0.5225, allocations: 58.27 MB / 492.1 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0345/0.5571, allocations: 12.3 MB / 0.4925 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0172/0.5743, allocations: 249.9 kB / 0.4928 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008996/0.5834, allocations: 4.15 MB / 0.4968 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009737/0.5932, allocations: 2.611 MB / 0.4994 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.5972, allocations: 1.158 MB / 0.5005 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.6181, allocations: 10.52 MB / 0.5108 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/0.6303, allocations: 5.758 MB / 0.5164 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008032/0.6384, allocations: 2.362 MB / 0.5187 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009083/0.6475, allocations: 3.999 MB / 0.5226 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.6502, allocations: 414.1 kB / 0.523 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005741/0.6559, allocations: 1.646 MB / 0.5246 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005304/0.6612, allocations: 3.171 MB / 0.5277 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008064/0.6693, allocations: 3.634 MB / 0.5313 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.6876, allocations: 11.82 MB / 0.5428 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.6877, allocations: 0 / 0.5428 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6877, allocations: 0 / 0.5428 GB, free: 9.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006946/0.6884, allocations: 0 / 0.5428 GB, free: 9.125 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02831/0.7167, allocations: 7.899 MB / 0.5505 GB, free: 1.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7168, allocations: 12.03 kB / 0.5505 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.7326, allocations: 3.937 MB / 0.5544 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.7446, allocations: 4.413 MB / 0.5587 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.7451, allocations: 398 kB / 0.5591 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/0.7482, allocations: 0.5503 MB / 0.5596 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04342/0.7916, allocations: 18.88 MB / 0.5781 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.7919, allocations: 67.38 kB / 0.5781 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.7931, allocations: 247.8 kB / 0.5784 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005349/0.7985, allocations: 3.424 MB / 0.5817 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04052/0.839, allocations: 16.63 MB / 0.5979 GB, free: 15.45 MB / 478.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.6307/1.47, allocations: 66.93 MB / 0.6633 GB, free: 99.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.487, allocations: 6.272 MB / 0.6694 GB, free: 97.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005067/1.492, allocations: 2.816 MB / 0.6722 GB, free: 96.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0267/1.519, allocations: 13.87 MB / 0.6857 GB, free: 88.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/1.519, allocations: 61.33 kB / 0.6858 GB, free: 88.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.472e-06/1.519, allocations: 0 / 0.6858 GB, free: 88.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09266/1.611, allocations: 25.09 MB / 0.7103 GB, free: 80.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/1.611, allocations: 193.5 kB / 0.7105 GB, free: 80.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008095/1.62, allocations: 5.908 MB / 0.7162 GB, free: 78.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007255/1.62, allocations: 73.14 kB / 0.7163 GB, free: 78.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/1.623, allocations: 4.959 MB / 0.7211 GB, free: 74.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.625, allocations: 1.286 MB / 0.7224 GB, free: 73.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/1.627, allocations: 1.912 MB / 0.7243 GB, free: 72.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/1.628, allocations: 305.1 kB / 0.7246 GB, free: 72.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005781/1.633, allocations: 3.352 MB / 0.7278 GB, free: 71.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007941/1.641, allocations: 8.874 MB / 0.7365 GB, free: 60.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.656, allocations: 13.18 MB / 0.7494 GB, free: 44.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002729/1.656, allocations: 59.94 kB / 0.7494 GB, free: 44.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02817/1.684, allocations: 12.99 MB / 0.7621 GB, free: 31.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003278/1.685, allocations: 88 kB / 0.7622 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000456/1.685, allocations: 196.1 kB / 0.7624 GB, free: 31.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/1.689, allocations: 1.324 MB / 0.7637 GB, free: 30.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007752/1.697, allocations: 2.203 MB / 0.7658 GB, free: 27.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.709, allocations: 7.284 MB / 0.7729 GB, free: 20.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008735/1.717, allocations: 0.5103 MB / 0.7734 GB, free: 20.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/1.72, allocations: 0.5547 MB / 0.774 GB, free: 19.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009198/1.729, allocations: 3.456 MB / 0.7774 GB, free: 16.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.731, allocations: 0.5245 MB / 0.7779 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.745, allocations: 5.406 MB / 0.7832 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-05/1.745, allocations: 37.59 kB / 0.7832 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/1.745, allocations: 8 kB / 0.7832 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/1.745, allocations: 19.94 kB / 0.7832 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02963/1.775, allocations: 14.02 MB / 0.7969 GB, free: 11.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.775, allocations: 12 kB / 0.7969 GB, free: 11.72 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.777, allocations: 0.4953 MB / 0.7974 GB, free: 11.22 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003429/1.781, allocations: 0.82 MB / 0.7982 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/1.781, allocations: 67.98 kB / 0.7983 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009205/1.79, allocations: 5.321 MB / 0.8035 GB, free: 4.883 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/1.79, allocations: 20 kB / 0.8035 GB, free: 4.863 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.806, allocations: 8.29 MB / 0.8116 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.809, allocations: 0.9275 MB / 0.8125 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/1.811, allocations: 67.94 kB / 0.8125 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/1.815, allocations: 131.9 kB / 0.8127 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008865/1.816, allocations: 218.3 kB / 0.8129 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/1.816, allocations: 107.5 kB / 0.813 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009666/1.826, allocations: 3.674 MB / 0.8166 GB, free: 7.184 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.11e-07/1.826, allocations: 10.47 kB / 0.8166 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01117/1.837, allocations: 1.647 MB / 0.8182 GB, free: 5.539 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/1.839, allocations: 269.8 kB / 0.8184 GB, free: 5.277 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2589/2.098, allocations: 7.877 MB / 0.8261 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/2.098, allocations: 3.094 kB / 0.8261 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/2.102, allocations: 2.374 MB / 0.8285 GB, free: 157 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/2.106, allocations: 0.6759 MB / 0.8291 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/2.138, allocations: 18.89 MB / 0.8476 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008393/2.146, allocations: 5.17 MB / 0.8526 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009183/2.156, allocations: 2.968 MB / 0.8555 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/2.158, allocations: 388.5 kB / 0.8559 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.392e-06/2.158, allocations: 0 / 0.8559 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1196/2.277, allocations: 58.82 MB / 0.9133 GB, free: 113.1 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)