Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.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 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008/0.008, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001793/0.001793, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.34 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3134/0.3134, allocations: 37.99 MB / 307.9 MB, free: 10.43 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.1. 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.001521/0.001521, allocations: 71.83 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3315, allocations: 56.46 MB / 489.4 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01384/0.3454, allocations: 13.48 MB / 0.4911 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.3567, allocations: 4.8 MB / 0.4958 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.3603, allocations: 98.16 kB / 0.4959 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006805/0.3671, allocations: 3.744 MB / 0.4996 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.3738, allocations: 2.249 MB / 0.5018 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.3765, allocations: 1.088 MB / 0.5028 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.387, allocations: 6.196 MB / 0.5089 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008168/0.3952, allocations: 4.531 MB / 0.5133 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006062/0.4013, allocations: 2.045 MB / 0.5153 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006639/0.408, allocations: 2.763 MB / 0.518 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.4101, allocations: 431.4 kB / 0.5184 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/0.4147, allocations: 1.447 MB / 0.5198 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.4187, allocations: 2.502 MB / 0.5223 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005388/0.4241, allocations: 2.793 MB / 0.525 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.4358, allocations: 8.822 MB / 0.5336 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4359, allocations: 0 / 0.5336 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4359, allocations: 4 kB / 0.5336 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000187/0.4361, allocations: 0 / 0.5336 GB, free: 10.4 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01298/0.4491, allocations: 6.261 MB / 0.5397 GB, free: 4.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4492, allocations: 11.89 kB / 0.5397 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4593, allocations: 2.525 MB / 0.5422 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009335/0.4687, allocations: 4.121 MB / 0.5462 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.469, allocations: 283.6 kB / 0.5465 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.4705, allocations: 391.6 kB / 0.5469 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/0.4914, allocations: 12.01 MB / 0.5586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/0.4916, allocations: 51.41 kB / 0.5587 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005452/0.4921, allocations: 175.9 kB / 0.5588 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003134/0.4953, allocations: 2.143 MB / 0.5609 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.5159, allocations: 10.38 MB / 0.5711 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06433/0.5803, allocations: 47.3 MB / 0.6173 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.5951, allocations: 5.816 MB / 0.6229 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004041/0.5992, allocations: 2.966 MB / 0.6258 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.615, allocations: 8.873 MB / 0.6345 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.6151, allocations: 55.81 kB / 0.6345 GB, free: 440 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=206): time 6.232e-06/0.6151, allocations: 4 kB / 0.6346 GB, free: 436 kB / 0.4981 GB Notification: Performance of matching and sorting (n=262): time 0.4047/1.02, allocations: 34.98 MB / 0.6687 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/1.02, allocations: 212.9 kB / 0.6689 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006484/1.026, allocations: 4.798 MB / 0.6736 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005067/1.027, allocations: 68.23 kB / 0.6737 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/1.029, allocations: 3.543 MB / 0.6771 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009138/1.03, allocations: 0.979 MB / 0.6781 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/1.031, allocations: 1.42 MB / 0.6795 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/1.031, allocations: 305.1 kB / 0.6798 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/1.035, allocations: 3.175 MB / 0.6829 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/1.039, allocations: 7.038 MB / 0.6897 GB, free: 98.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009283/1.049, allocations: 10.95 MB / 0.7004 GB, free: 86.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.027e-05/1.049, allocations: 36 kB / 0.7005 GB, free: 86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02158/1.07, allocations: 13.75 MB / 0.7139 GB, free: 72.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/1.07, allocations: 73.84 kB / 0.714 GB, free: 72.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.982e-05/1.07, allocations: 142.8 kB / 0.7141 GB, free: 72.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.081, allocations: 4.385 MB / 0.7184 GB, free: 67.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/1.086, allocations: 1.472 MB / 0.7198 GB, free: 66.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03163/1.117, allocations: 29.04 MB / 0.7482 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006613/1.124, allocations: 411.3 kB / 0.7486 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.125, allocations: 412 kB / 0.749 GB, free: 35.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004537/1.13, allocations: 2.47 MB / 0.7514 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.131, allocations: 438.4 kB / 0.7518 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.145, allocations: 8.479 MB / 0.7601 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/1.145, allocations: 31.98 kB / 0.7601 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.417e-05/1.145, allocations: 12 kB / 0.7601 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.969e-05/1.145, allocations: 19.95 kB / 0.7601 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.175, allocations: 16.93 MB / 0.7767 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/1.175, allocations: 4 kB / 0.7767 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.176, allocations: 309.6 kB / 0.777 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009773/1.186, allocations: 3.961 MB / 0.7808 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005315/1.186, allocations: 48 kB / 0.7809 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03587/1.222, allocations: 27.79 MB / 0.808 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.222, allocations: 7.938 kB / 0.808 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02439/1.247, allocations: 12.44 MB / 0.8202 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003642/1.25, allocations: 0.9639 MB / 0.8211 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.252, allocations: 44 kB / 0.8211 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.255, allocations: 175.7 kB / 0.8213 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/1.256, allocations: 194.1 kB / 0.8215 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/1.257, allocations: 67.94 kB / 0.8216 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005431/1.262, allocations: 3.033 MB / 0.8245 GB, free: 5.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.262, allocations: 0 / 0.8245 GB, free: 5.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008323/1.271, allocations: 1.478 MB / 0.826 GB, free: 4.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009537/1.272, allocations: 189.4 kB / 0.8261 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.287, allocations: 8.461 MB / 0.8344 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.287, allocations: 0 / 0.8344 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/1.293, allocations: 3.542 MB / 0.8379 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.298, allocations: 0.5717 MB / 0.8384 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2825/1.581, allocations: 12.46 MB / 0.8506 GB, free: 186 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007484/1.588, allocations: 3.934 MB / 0.8544 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005518/1.594, allocations: 2.001 MB / 0.8564 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009379/1.595, allocations: 280.8 kB / 0.8567 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.595, allocations: 0 / 0.8567 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1199/1.714, allocations: 69.35 MB / 0.9244 GB, free: 146.2 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)