Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001012/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4426/0.4426, allocations: 40 MB / 310.4 MB, free: 9.969 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.0005449/0.0005451, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3709/0.5229, allocations: 48.46 MB / 485.3 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.552, allocations: 10.64 MB / 495.9 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01425/0.5663, allocations: 226.8 kB / 496.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.5765, allocations: 2.515 MB / 498.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02545/0.602, allocations: 7.587 MB / 0.4944 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.6077, allocations: 0.859 MB / 0.4952 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05682/0.6646, allocations: 36.63 MB / 0.531 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.6747, allocations: 5.121 MB / 0.536 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005758/0.6805, allocations: 1.899 MB / 0.5378 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006479/0.687, allocations: 3.132 MB / 0.5409 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.6886, allocations: 236 kB / 0.5411 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.6926, allocations: 1.123 MB / 0.5422 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004259/0.6968, allocations: 2.579 MB / 0.5447 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.6991, allocations: 1.193 MB / 0.5459 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7103, allocations: 7.973 MB / 0.5537 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.7104, allocations: 0 / 0.5537 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7104, allocations: 0 / 0.5537 GB, free: 292 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000457/0.7109, allocations: 0 / 0.5537 GB, free: 292 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01791/0.7288, allocations: 6.177 MB / 0.5597 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.7289, allocations: 12.03 kB / 0.5597 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.7446, allocations: 4.024 MB / 0.5636 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.7548, allocations: 4.156 MB / 0.5677 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.7551, allocations: 320 kB / 0.568 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.757, allocations: 435.6 kB / 0.5684 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.7881, allocations: 15.72 MB / 0.5838 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003892/0.7886, allocations: 67.44 kB / 0.5838 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002419/0.791, allocations: 203.8 kB / 0.584 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00607/0.7971, allocations: 3.212 MB / 0.5872 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/0.8291, allocations: 14.13 MB / 0.601 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4354/1.265, allocations: 57.76 MB / 0.6574 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/1.278, allocations: 6.598 MB / 0.6638 GB, free: 103.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005304/1.284, allocations: 3.75 MB / 0.6675 GB, free: 102.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02319/1.307, allocations: 14.78 MB / 0.6819 GB, free: 95.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.251e-05/1.307, allocations: 61 kB / 0.682 GB, free: 95.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 7.624e-06/1.307, allocations: 3.75 kB / 0.682 GB, free: 95.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.1522/1.459, allocations: 42.78 MB / 0.7238 GB, free: 78.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.459, allocations: 214 kB / 0.724 GB, free: 78.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/1.472, allocations: 5.459 MB / 0.7293 GB, free: 72.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.474, allocations: 73.7 kB / 0.7294 GB, free: 72.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003494/1.477, allocations: 4.349 MB / 0.7336 GB, free: 68.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002217/1.479, allocations: 1.263 MB / 0.7348 GB, free: 67.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/1.481, allocations: 186.4 kB / 0.735 GB, free: 66.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0009106/1.482, allocations: 0.6905 MB / 0.7357 GB, free: 66.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007743/1.49, allocations: 4.808 MB / 0.7404 GB, free: 61.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.501, allocations: 9.788 MB / 0.7499 GB, free: 49.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.512, allocations: 6.687 MB / 0.7565 GB, free: 42.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.512, allocations: 52 kB / 0.7565 GB, free: 42.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04726/1.559, allocations: 19.57 MB / 0.7756 GB, free: 22.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003513/1.56, allocations: 80 kB / 0.7757 GB, free: 22.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003876/1.56, allocations: 172 kB / 0.7759 GB, free: 22.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/1.58, allocations: 5.991 MB / 0.7817 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008629/1.589, allocations: 2.125 MB / 0.7838 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03609/1.625, allocations: 24.8 MB / 0.808 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/1.638, allocations: 0.5617 MB / 0.8086 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002779/1.641, allocations: 0.5156 MB / 0.8091 GB, free: 4.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01042/1.651, allocations: 3.101 MB / 0.8121 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00255/1.654, allocations: 0.4936 MB / 0.8126 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03765/1.691, allocations: 13.02 MB / 0.8253 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/1.692, allocations: 55.73 kB / 0.8253 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-05/1.692, allocations: 15.95 kB / 0.8254 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.692, allocations: 19.94 kB / 0.8254 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3945/2.086, allocations: 24.74 MB / 0.8495 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/2.086, allocations: 6.625 kB / 0.8495 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/2.09, allocations: 0.5787 MB / 0.8501 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/2.107, allocations: 4.996 MB / 0.855 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008832/2.108, allocations: 64.02 kB / 0.855 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02975/2.138, allocations: 19.97 MB / 0.8746 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/2.138, allocations: 5.562 kB / 0.8746 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03619/2.174, allocations: 17.57 MB / 0.8917 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003917/2.178, allocations: 1.268 MB / 0.893 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/2.179, allocations: 51.19 kB / 0.893 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/2.182, allocations: 267.7 kB / 0.8933 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007397/2.183, allocations: 194.8 kB / 0.8934 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/2.183, allocations: 85.14 kB / 0.8935 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005649/2.189, allocations: 3.385 MB / 0.8968 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/2.189, allocations: 3.812 kB / 0.8968 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01048/2.199, allocations: 1.768 MB / 0.8986 GB, free: 133.3 MB / 0.5137 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009679/2.2, allocations: 204.8 kB / 0.8988 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01748/2.218, allocations: 10.96 MB / 0.9095 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.218, allocations: 0 / 0.9095 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006154/2.224, allocations: 4.129 MB / 0.9135 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/2.23, allocations: 0.5882 MB / 0.9141 GB, free: 119 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/2.262, allocations: 18.7 MB / 0.9323 GB, free: 100.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00696/2.269, allocations: 4.632 MB / 0.9368 GB, free: 95.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007696/2.277, allocations: 2.982 MB / 0.9398 GB, free: 92.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/2.278, allocations: 351.4 kB / 0.9401 GB, free: 92.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/2.278, allocations: 0 / 0.9401 GB, free: 92.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1308/2.409, allocations: 75.55 MB / 1.014 GB, free: 16.75 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: