Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001772/0.001772, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.001984/0.001984, allocations: 217.7 kB / 23.48 MB, free: 5.254 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.435/1.435, allocations: 230.2 MB / 256.8 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 178] 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.2264/0.2264, allocations: 46.89 MB / 360 MB, free: 4.738 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.JointUSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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.002289/0.002289, allocations: 87.84 kB / 0.4951 GB, free: 8.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3474, allocations: 65.99 MB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02031/0.3677, allocations: 17.74 MB / 0.5768 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.3794, allocations: 5.753 MB / 0.5825 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.3821, allocations: 111.7 kB / 0.5826 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008909/0.391, allocations: 4.653 MB / 0.5871 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008332/0.3993, allocations: 3.054 MB / 0.5901 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.4035, allocations: 1.501 MB / 0.5916 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01443/0.418, allocations: 8.942 MB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006864/0.4248, allocations: 4.819 MB / 0.605 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.4305, allocations: 3.014 MB / 0.6079 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007621/0.4381, allocations: 4.615 MB / 0.6124 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.4402, allocations: 0.6602 MB / 0.6131 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005146/0.4454, allocations: 1.884 MB / 0.6149 GB, free: 12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00563/0.451, allocations: 3.802 MB / 0.6186 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007639/0.4586, allocations: 4.218 MB / 0.6228 GB, free: 3.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.4778, allocations: 13.66 MB / 0.6361 GB, free: 6.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4778, allocations: 0 / 0.6361 GB, free: 6.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4778, allocations: 0 / 0.6361 GB, free: 6.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004655/0.4782, allocations: 0 / 0.6361 GB, free: 6.23 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02368/0.5019, allocations: 9.339 MB / 0.6452 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.502, allocations: 8.031 kB / 0.6452 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003183/0.5051, allocations: 1.423 MB / 0.6466 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03218/0.5373, allocations: 6.006 MB / 0.6525 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.551, allocations: 6.023 MB / 0.6584 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007027/0.5517, allocations: 442.9 kB / 0.6588 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003647/0.5554, allocations: 0.5972 MB / 0.6594 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04483/0.6002, allocations: 20.56 MB / 0.6795 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/0.6005, allocations: 83.33 kB / 0.6795 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.6019, allocations: 275.7 kB / 0.6798 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006275/0.6082, allocations: 3.71 MB / 0.6834 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04121/0.6494, allocations: 18.07 MB / 0.7011 GB, free: 2.336 MB / 0.5294 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.5697/1.219, allocations: 74.1 MB / 0.7734 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/1.235, allocations: 7.148 MB / 0.7804 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/1.24, allocations: 3.744 MB / 0.7841 GB, free: 99.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02401/1.264, allocations: 18.06 MB / 0.8017 GB, free: 87.13 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/1.264, allocations: 68.72 kB / 0.8018 GB, free: 87.06 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 7.043e-06/1.264, allocations: 3.875 kB / 0.8018 GB, free: 87.06 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1001/1.364, allocations: 34.66 MB / 0.8356 GB, free: 52.82 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/1.364, allocations: 200.8 kB / 0.8358 GB, free: 52.59 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007755/1.372, allocations: 6.494 MB / 0.8421 GB, free: 46.23 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008574/1.372, allocations: 81.7 kB / 0.8422 GB, free: 46.14 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.375, allocations: 5.638 MB / 0.8477 GB, free: 40.86 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.376, allocations: 1.589 MB / 0.8493 GB, free: 39.29 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/1.379, allocations: 2.083 MB / 0.8513 GB, free: 37.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/1.379, allocations: 305.1 kB / 0.8516 GB, free: 36.89 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/1.384, allocations: 4.175 MB / 0.8557 GB, free: 32.71 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007371/1.391, allocations: 10.07 MB / 0.8655 GB, free: 19.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.407, allocations: 15.37 MB / 0.8805 GB, free: 1.484 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002742/1.407, allocations: 56 kB / 0.8806 GB, free: 1.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03757/1.444, allocations: 15.95 MB / 0.8962 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.445, allocations: 95.94 kB / 0.8963 GB, free: 1.355 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/1.445, allocations: 208 kB / 0.8965 GB, free: 1.152 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008844/1.454, allocations: 2.303 MB / 0.8987 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00897/1.463, allocations: 2.402 MB / 0.901 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/1.485, allocations: 12.5 MB / 0.9133 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/1.496, allocations: 0.5763 MB / 0.9138 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002352/1.498, allocations: 0.5938 MB / 0.9144 GB, free: 14.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1276): * Single equations (assignments): 1269 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008914/1.507, allocations: 3.752 MB / 0.9181 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/1.508, allocations: 0.6247 MB / 0.9187 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/1.528, allocations: 8.134 MB / 0.9266 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/1.528, allocations: 66.02 kB / 0.9267 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/1.528, allocations: 20 kB / 0.9267 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-05/1.528, allocations: 19.92 kB / 0.9267 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04521/1.573, allocations: 18.51 MB / 0.9448 GB, free: 15.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-05/1.573, allocations: 14.62 kB / 0.9448 GB, free: 15.09 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/1.577, allocations: 0.6085 MB / 0.9454 GB, free: 14.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006938/1.584, allocations: 1.75 MB / 0.9471 GB, free: 12.73 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007375/1.584, allocations: 83.97 kB / 0.9472 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/1.603, allocations: 10.58 MB / 0.9575 GB, free: 1.914 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/1.603, allocations: 15.94 kB / 0.9575 GB, free: 1.898 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/1.627, allocations: 12.18 MB / 0.9694 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.629, allocations: 0.6452 MB / 0.9701 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.631, allocations: 79.98 kB / 0.9701 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/1.634, allocations: 199.8 kB / 0.9703 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008465/1.635, allocations: 265.6 kB / 0.9706 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.635, allocations: 120 kB / 0.9707 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008229/1.643, allocations: 4.026 MB / 0.9746 GB, free: 112 kB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/1.643, allocations: 0 / 0.9746 GB, free: 112 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01035/1.654, allocations: 1.875 MB / 0.9765 GB, free: 14.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (325): * Single equations (assignments): 318 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02498/1.679, allocations: 12.95 MB / 0.9891 GB, free: 1.008 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2889/1.968, allocations: 9.402 MB / 0.9983 GB, free: 248.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.968, allocations: 1.781 kB / 0.9983 GB, free: 248.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004708/1.972, allocations: 3.05 MB / 1.001 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/1.977, allocations: 0.8128 MB / 1.002 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1107/2.088, allocations: 87.81 MB / 1.088 GB, free: 159.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00646/2.094, allocations: 5.581 MB / 1.093 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007974/2.102, allocations: 3.308 MB / 1.096 GB, free: 150.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005305/2.107, allocations: 3.674 MB / 1.1 GB, free: 146.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.013e-06/2.107, allocations: 0 / 1.1 GB, free: 146.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1753/2.283, allocations: 125.3 MB / 1.222 GB, free: 21.92 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.01/40.29, allocations: 7.547 kB / 1.222 GB, free: 21.92 MB / 0.67 GB " [Timeout remaining time 620] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 43.602013056050055] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 40.458363625919446 40.719069982 39.993736745 Calling exit ...