Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001441/0.001441, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.44/1.44, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001588/0.001589, allocations: 103.5 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1688/0.1688, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.818e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08788, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4286, allocations: 102.7 MB / 0.4965 GB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4289, allocations: 78.88 kB / 0.4966 GB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7343/1.163, allocations: 154.3 MB / 0.6473 GB, free: 72.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.163, allocations: 0 / 0.6473 GB, free: 72.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004563/1.164, allocations: 142.7 kB / 0.6474 GB, free: 72.17 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02265/1.186, allocations: 6.538 MB / 0.6538 GB, free: 69.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.186, allocations: 10.59 kB / 0.6538 GB, free: 69.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/1.217, allocations: 6.675 MB / 0.6603 GB, free: 69.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/1.237, allocations: 8.379 MB / 0.6685 GB, free: 68.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000586/1.238, allocations: 0.526 MB / 0.669 GB, free: 68.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/1.243, allocations: 0.7052 MB / 0.6697 GB, free: 68.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/1.285, allocations: 18.67 MB / 0.6879 GB, free: 64.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/1.286, allocations: 85.56 kB / 0.688 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/1.288, allocations: 341.7 kB / 0.6883 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/1.291, allocations: 1.716 MB / 0.69 GB, free: 64.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/1.323, allocations: 16.21 MB / 0.7059 GB, free: 58.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08621/1.409, allocations: 74.17 MB / 0.7783 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2669/1.676, allocations: 6.115 MB / 0.7843 GB, free: 82.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004891/1.681, allocations: 2.696 MB / 0.7869 GB, free: 82.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02595/1.707, allocations: 13.91 MB / 0.8005 GB, free: 78.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.707, allocations: 61.5 kB / 0.8005 GB, free: 78.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 5.731e-06/1.707, allocations: 0 / 0.8005 GB, free: 78.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.05934/1.766, allocations: 19.3 MB / 0.8194 GB, free: 74.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.767, allocations: 189 kB / 0.8196 GB, free: 74.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008594/1.775, allocations: 5.148 MB / 0.8246 GB, free: 74.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005706/1.776, allocations: 71.36 kB / 0.8247 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002955/1.779, allocations: 5 MB / 0.8295 GB, free: 71.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.78, allocations: 1.281 MB / 0.8308 GB, free: 70.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/1.781, allocations: 184.4 kB / 0.831 GB, free: 70.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004219/1.781, allocations: 0.711 MB / 0.8317 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.786, allocations: 3.138 MB / 0.8347 GB, free: 70.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006528/1.792, allocations: 8.584 MB / 0.8431 GB, free: 62.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007241/1.8, allocations: 5.186 MB / 0.8482 GB, free: 61.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.8, allocations: 55.72 kB / 0.8482 GB, free: 61.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02285/1.823, allocations: 12.5 MB / 0.8604 GB, free: 57.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.823, allocations: 86.66 kB / 0.8605 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.823, allocations: 195.8 kB / 0.8607 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/1.827, allocations: 1.325 MB / 0.862 GB, free: 57.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007499/1.835, allocations: 2.179 MB / 0.8641 GB, free: 56.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00978/1.844, allocations: 7.091 MB / 0.871 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007762/1.852, allocations: 0.5626 MB / 0.8716 GB, free: 53.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.854, allocations: 0.5439 MB / 0.8721 GB, free: 52.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002231/1.856, allocations: 0.8186 MB / 0.8729 GB, free: 52.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.858, allocations: 0.5259 MB / 0.8734 GB, free: 51.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.869, allocations: 5.267 MB / 0.8786 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/1.869, allocations: 37.66 kB / 0.8786 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.869, allocations: 6.969 kB / 0.8786 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.869, allocations: 15.7 kB / 0.8786 GB, free: 50.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.897, allocations: 14.05 MB / 0.8924 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/1.897, allocations: 12 kB / 0.8924 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.899, allocations: 0.5324 MB / 0.8929 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/1.902, allocations: 0.9132 MB / 0.8938 GB, free: 39.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/1.903, allocations: 68.69 kB / 0.8939 GB, free: 39.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/1.91, allocations: 5.413 MB / 0.8991 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.91, allocations: 15.94 kB / 0.8992 GB, free: 34.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.924, allocations: 10.14 MB / 0.9091 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002996/1.927, allocations: 0.9448 MB / 0.91 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000925/1.928, allocations: 69.02 kB / 0.91 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.93, allocations: 189.8 kB / 0.9102 GB, free: 23.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/1.931, allocations: 214.3 kB / 0.9104 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.931, allocations: 110.7 kB / 0.9105 GB, free: 23.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00583/1.937, allocations: 3.559 MB / 0.914 GB, free: 20.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.937, allocations: 7.938 kB / 0.914 GB, free: 20.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01046/1.947, allocations: 1.651 MB / 0.9156 GB, free: 18.38 MB / 442.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009369/1.948, allocations: 260.1 kB / 0.9159 GB, free: 18.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.96, allocations: 7.608 MB / 0.9233 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.96, allocations: 4 kB / 0.9233 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.963, allocations: 2.364 MB / 0.9256 GB, free: 8.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.968, allocations: 0.6405 MB / 0.9262 GB, free: 8.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/1.996, allocations: 12.67 MB / 0.9386 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009285/2.005, allocations: 5.311 MB / 0.9438 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01095/2.016, allocations: 3.486 MB / 0.9472 GB, free: 7.887 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2646/2.281, allocations: 381.1 kB / 0.9476 GB, free: 80.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/2.281, allocations: 0 / 0.9476 GB, free: 80.95 MB / 458.7 MB Notification: Performance of Templates: time 0.1543/2.435, allocations: 55.25 MB / 1.002 GB, free: 78.66 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)