Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 214.8 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1969/0.1969, allocations: 46.89 MB / 359.3 MB, free: 4.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 83.84 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2547, allocations: 65.99 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01629/0.271, allocations: 16.33 MB / 0.5744 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009529/0.2805, allocations: 5.404 MB / 0.5796 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.2818, allocations: 103.8 kB / 0.5797 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006549/0.2883, allocations: 4.224 MB / 0.5839 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.2938, allocations: 2.79 MB / 0.5866 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.2961, allocations: 1.263 MB / 0.5878 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00862/0.3047, allocations: 7.721 MB / 0.5954 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/0.3093, allocations: 4.347 MB / 0.5996 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.3126, allocations: 2.683 MB / 0.6022 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.3174, allocations: 4.089 MB / 0.6062 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.3184, allocations: 0.5938 MB / 0.6068 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.3211, allocations: 1.795 MB / 0.6086 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.324, allocations: 3.385 MB / 0.6119 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003473/0.3274, allocations: 3.81 MB / 0.6156 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3392, allocations: 12.43 MB / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3392, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3392, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.3394, allocations: 0 / 0.6277 GB, free: 13.91 MB / 478.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.01428/0.3537, allocations: 8.161 MB / 0.6357 GB, free: 5.648 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3537, allocations: 8.031 kB / 0.6357 GB, free: 5.641 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/0.3554, allocations: 1.307 MB / 0.637 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02752/0.3829, allocations: 5.753 MB / 0.6426 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009499/0.3924, allocations: 4.898 MB / 0.6474 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.3927, allocations: 402 kB / 0.6478 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.3942, allocations: 0.5504 MB / 0.6483 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/0.4248, allocations: 18.83 MB / 0.6667 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.4249, allocations: 71.41 kB / 0.6667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006322/0.4255, allocations: 251.8 kB / 0.667 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004936/0.4305, allocations: 3.424 MB / 0.6703 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0313/0.4618, allocations: 16.52 MB / 0.6865 GB, free: 0.4922 MB / 0.5137 GB 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.4627/0.9245, allocations: 66.62 MB / 0.7515 GB, free: 110.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.937, allocations: 6.043 MB / 0.7574 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.9397, allocations: 2.654 MB / 0.76 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/0.9546, allocations: 13.94 MB / 0.7736 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9547, allocations: 63.12 kB / 0.7737 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 4.458e-06/0.9547, allocations: 0 / 0.7737 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.06844/1.023, allocations: 25.24 MB / 0.7983 GB, free: 80.37 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.023, allocations: 187.8 kB / 0.7985 GB, free: 80.15 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/1.028, allocations: 5.917 MB / 0.8043 GB, free: 74.38 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/1.029, allocations: 73.69 kB / 0.8044 GB, free: 74.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.031, allocations: 5.183 MB / 0.8094 GB, free: 69.42 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/1.031, allocations: 1.343 MB / 0.8107 GB, free: 68.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/1.033, allocations: 1.87 MB / 0.8126 GB, free: 66.22 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.344e-05/1.033, allocations: 310.7 kB / 0.8129 GB, free: 65.91 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/1.037, allocations: 3.298 MB / 0.8161 GB, free: 62.61 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/1.042, allocations: 8.771 MB / 0.8246 GB, free: 51.23 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009433/1.051, allocations: 13.05 MB / 0.8374 GB, free: 35.58 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/1.051, allocations: 63.5 kB / 0.8374 GB, free: 35.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.01747/1.069, allocations: 12.83 MB / 0.85 GB, free: 22.65 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/1.069, allocations: 88 kB / 0.8501 GB, free: 22.56 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.069, allocations: 188 kB / 0.8502 GB, free: 22.38 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/1.072, allocations: 1.314 MB / 0.8515 GB, free: 21.06 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005474/1.078, allocations: 2.168 MB / 0.8536 GB, free: 18.89 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009223/1.087, allocations: 7.847 MB / 0.8613 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/1.093, allocations: 0.4953 MB / 0.8618 GB, free: 10.42 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009221/1.093, allocations: 0.5508 MB / 0.8623 GB, free: 9.867 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * 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.003649/1.097, allocations: 3.441 MB / 0.8657 GB, free: 6.41 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/1.098, allocations: 0.551 MB / 0.8662 GB, free: 5.855 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/1.107, allocations: 5.409 MB / 0.8715 GB, free: 400 kB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/1.107, allocations: 39.94 kB / 0.8715 GB, free: 360 kB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.107, allocations: 8 kB / 0.8715 GB, free: 352 kB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.107, allocations: 17.58 kB / 0.8716 GB, free: 336 kB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.131, allocations: 13.92 MB / 0.8852 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.131, allocations: 16.25 kB / 0.8852 GB, free: 2.176 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.134, allocations: 0.4953 MB / 0.8857 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/1.137, allocations: 0.8091 MB / 0.8864 GB, free: 0.8672 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/1.137, allocations: 71.89 kB / 0.8865 GB, free: 0.8008 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009576/1.147, allocations: 5.815 MB / 0.8922 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/1.147, allocations: 15.94 kB / 0.8922 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.161, allocations: 8.322 MB / 0.9003 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.162, allocations: 0.591 MB / 0.9009 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/1.162, allocations: 70.97 kB / 0.901 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.164, allocations: 131.9 kB / 0.9011 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.165, allocations: 225.4 kB / 0.9013 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.165, allocations: 106.2 kB / 0.9014 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005069/1.17, allocations: 3.667 MB / 0.905 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/1.17, allocations: 0 / 0.905 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006281/1.176, allocations: 1.597 MB / 0.9066 GB, free: 11.86 MB / 0.6075 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.01423/1.19, allocations: 9.064 MB / 0.9154 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.202, allocations: 7.504 MB / 0.9227 GB, free: 11.01 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.202, allocations: 0 / 0.9227 GB, free: 11.01 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/1.206, allocations: 2.219 MB / 0.9249 GB, free: 8.777 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.209, allocations: 0.721 MB / 0.9256 GB, free: 8.066 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3123/1.522, allocations: 73.8 MB / 0.9977 GB, free: 256.1 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/1.526, allocations: 5.156 MB / 1.003 GB, free: 255.2 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.004748/1.53, allocations: 2.963 MB / 1.006 GB, free: 255.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/1.533, allocations: 3.33 MB / 1.009 GB, free: 252.5 MB / 0.6857 GB Notification: Performance of SimCode: time 9.92e-07/1.533, allocations: 3.719 kB / 1.009 GB, free: 252.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.664, allocations: 107.7 MB / 1.114 GB, free: 152.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.78/22.44, allocations: 15.48 kB / 1.114 GB, free: 152.1 MB / 0.6857 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.016850165004143]