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.0008025/0.0008025, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005947/0.005947, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.789/1.789, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3713/0.3713, allocations: 40 MB / 310.7 MB, free: 9.547 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.00073/0.0007302, allocations: 16.66 kB / 379.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1522, allocations: 57.96 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3598/0.5121, allocations: 52.08 MB / 489.5 MB, free: 21.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03394/0.5461, allocations: 11.15 MB / 0.4889 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01403/0.5602, allocations: 228.7 kB / 0.4891 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.5629, allocations: 0.6143 MB / 0.4897 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008172/0.5711, allocations: 2.414 MB / 0.4921 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.5739, allocations: 0.9232 MB / 0.493 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.5925, allocations: 9.424 MB / 0.5022 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/0.6083, allocations: 5.825 MB / 0.5079 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006643/0.615, allocations: 1.752 MB / 0.5096 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008481/0.6235, allocations: 3.161 MB / 0.5127 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002601/0.6262, allocations: 237.9 kB / 0.5129 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006207/0.6324, allocations: 1.335 MB / 0.5142 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006123/0.6386, allocations: 2.636 MB / 0.5168 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.6489, allocations: 2.981 MB / 0.5197 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.6687, allocations: 9.703 MB / 0.5292 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6688, allocations: 0 / 0.5292 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6688, allocations: 0 / 0.5292 GB, free: 9.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000594/0.6694, allocations: 0 / 0.5292 GB, free: 9.613 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02161/0.691, allocations: 6.092 MB / 0.5351 GB, free: 3.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.6911, allocations: 12.03 kB / 0.5351 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01948/0.7106, allocations: 4.028 MB / 0.5391 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.7251, allocations: 4.224 MB / 0.5432 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005138/0.7257, allocations: 320.6 kB / 0.5435 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003167/0.7289, allocations: 439.5 kB / 0.5439 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04052/0.7694, allocations: 15.75 MB / 0.5593 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004823/0.77, allocations: 63.38 kB / 0.5594 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003067/0.7731, allocations: 207.8 kB / 0.5596 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006705/0.7798, allocations: 3.22 MB / 0.5627 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03559/0.8155, allocations: 14.18 MB / 0.5765 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4435/1.259, allocations: 57.79 MB / 0.633 GB, free: 124.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/1.274, allocations: 6.607 MB / 0.6394 GB, free: 123.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.279, allocations: 3.757 MB / 0.6431 GB, free: 123.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.301, allocations: 14.79 MB / 0.6575 GB, free: 117.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.301, allocations: 61.88 kB / 0.6576 GB, free: 117.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 6.362e-06/1.301, allocations: 3.938 kB / 0.6576 GB, free: 117.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.1699/1.471, allocations: 42.81 MB / 0.6994 GB, free: 104.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/1.471, allocations: 209.4 kB / 0.6996 GB, free: 104.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/1.484, allocations: 5.494 MB / 0.705 GB, free: 101.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.486, allocations: 71.8 kB / 0.705 GB, free: 101.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00367/1.489, allocations: 4.346 MB / 0.7093 GB, free: 97.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002259/1.492, allocations: 1.265 MB / 0.7105 GB, free: 96.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002772/1.494, allocations: 0.7841 MB / 0.7113 GB, free: 95.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/1.495, allocations: 305.1 kB / 0.7116 GB, free: 95.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008396/1.503, allocations: 4.835 MB / 0.7163 GB, free: 90.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.515, allocations: 9.826 MB / 0.7259 GB, free: 78.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/1.534, allocations: 15.63 MB / 0.7412 GB, free: 60.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002441/1.534, allocations: 48 kB / 0.7412 GB, free: 60.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04869/1.583, allocations: 19.64 MB / 0.7604 GB, free: 40.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003238/1.583, allocations: 84.59 kB / 0.7605 GB, free: 40.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003915/1.584, allocations: 173.6 kB / 0.7606 GB, free: 40.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02302/1.607, allocations: 5.967 MB / 0.7665 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007764/1.615, allocations: 2.129 MB / 0.7685 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03116/1.646, allocations: 24.78 MB / 0.7927 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.656, allocations: 0.5657 MB / 0.7933 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/1.659, allocations: 0.5039 MB / 0.7938 GB, free: 6.324 MB / 494.1 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.008689/1.667, allocations: 3.109 MB / 0.7968 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00209/1.669, allocations: 0.4935 MB / 0.7973 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/1.707, allocations: 13.03 MB / 0.81 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/1.707, allocations: 55.98 kB / 0.8101 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.994e-05/1.707, allocations: 8 kB / 0.8101 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001206/1.708, allocations: 15.95 kB / 0.8101 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3578/2.065, allocations: 24.77 MB / 0.8343 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/2.065, allocations: 2.844 kB / 0.8343 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/2.069, allocations: 0.5815 MB / 0.8349 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02122/2.09, allocations: 4.999 MB / 0.8397 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008763/2.091, allocations: 59.36 kB / 0.8398 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/2.118, allocations: 19.99 MB / 0.8593 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/2.118, allocations: 13.28 kB / 0.8593 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03841/2.156, allocations: 17.6 MB / 0.8765 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/2.16, allocations: 1.274 MB / 0.8778 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/2.162, allocations: 52.12 kB / 0.8778 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/2.166, allocations: 266.5 kB / 0.8781 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008415/2.167, allocations: 187.6 kB / 0.8782 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/2.167, allocations: 92.28 kB / 0.8783 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005467/2.172, allocations: 3.416 MB / 0.8817 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/2.172, allocations: 3.156 kB / 0.8817 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009654/2.182, allocations: 1.766 MB / 0.8834 GB, free: 115.4 MB / 0.4981 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/2.183, allocations: 207 kB / 0.8836 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01758/2.201, allocations: 10.99 MB / 0.8943 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/2.201, allocations: 7.719 kB / 0.8943 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006427/2.207, allocations: 4.131 MB / 0.8984 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01144/2.219, allocations: 0.5911 MB / 0.899 GB, free: 103.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/2.254, allocations: 19.38 MB / 0.9179 GB, free: 84.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006561/2.261, allocations: 4.628 MB / 0.9224 GB, free: 79.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006817/2.268, allocations: 2.982 MB / 0.9253 GB, free: 76.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/2.269, allocations: 347.4 kB / 0.9256 GB, free: 76.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/2.269, allocations: 8 kB / 0.9256 GB, free: 76.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.1248/2.394, allocations: 77.04 MB / 1.001 GB, free: 15.47 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: