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.001369/0.001369, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001582/0.001582, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.229/0.229, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002601/0.002601, allocations: 79.86 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3929, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02012/0.4131, allocations: 16.34 MB / 0.5775 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.4258, allocations: 5.404 MB / 0.5827 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00375/0.4296, allocations: 119.4 kB / 0.5829 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008855/0.4384, allocations: 4.228 MB / 0.587 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009079/0.4475, allocations: 2.809 MB / 0.5897 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.4513, allocations: 1.267 MB / 0.591 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01331/0.4646, allocations: 7.735 MB / 0.5985 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.4756, allocations: 4.732 MB / 0.6031 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006278/0.4819, allocations: 2.718 MB / 0.6058 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007658/0.4895, allocations: 4.093 MB / 0.6098 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002872/0.4924, allocations: 0.5938 MB / 0.6104 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005426/0.4978, allocations: 1.795 MB / 0.6121 GB, free: 260 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005531/0.5033, allocations: 3.389 MB / 0.6154 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008389/0.5117, allocations: 3.806 MB / 0.6191 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01921/0.5309, allocations: 12.43 MB / 0.6313 GB, free: 12.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5309, allocations: 0 / 0.6313 GB, free: 12.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5309, allocations: 0 / 0.6313 GB, free: 12.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004426/0.5314, allocations: 0 / 0.6313 GB, free: 12.55 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.02396/0.5554, allocations: 8.087 MB / 0.6392 GB, free: 4.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5554, allocations: 8.031 kB / 0.6392 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003718/0.5591, allocations: 1.307 MB / 0.6405 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/0.5866, allocations: 5.749 MB / 0.6461 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.5981, allocations: 4.807 MB / 0.6508 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.5985, allocations: 398 kB / 0.6512 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/0.601, allocations: 0.5582 MB / 0.6517 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.6426, allocations: 18.82 MB / 0.6701 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/0.6429, allocations: 75.33 kB / 0.6702 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.6439, allocations: 255.8 kB / 0.6704 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005271/0.6492, allocations: 3.428 MB / 0.6737 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03808/0.6872, allocations: 16.53 MB / 0.6899 GB, free: 15.3 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.6589/1.346, allocations: 66.65 MB / 0.755 GB, free: 110 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/1.359, allocations: 5.131 MB / 0.76 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/1.362, allocations: 2.649 MB / 0.7626 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/1.38, allocations: 11.25 MB / 0.7736 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.38, allocations: 63.88 kB / 0.7736 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.15e-06/1.38, allocations: 0 / 0.7736 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07487/1.455, allocations: 25.11 MB / 0.7981 GB, free: 84.08 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.455, allocations: 188.3 kB / 0.7983 GB, free: 83.86 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009232/1.464, allocations: 5.908 MB / 0.8041 GB, free: 78.09 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007141/1.465, allocations: 69.7 kB / 0.8042 GB, free: 78.02 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00235/1.467, allocations: 5.193 MB / 0.8092 GB, free: 73.12 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.468, allocations: 1.335 MB / 0.8105 GB, free: 71.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/1.47, allocations: 1.874 MB / 0.8124 GB, free: 69.91 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/1.47, allocations: 305.1 kB / 0.8127 GB, free: 69.61 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/1.474, allocations: 3.298 MB / 0.8159 GB, free: 66.31 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/1.481, allocations: 8.764 MB / 0.8244 GB, free: 54.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.493, allocations: 13.06 MB / 0.8372 GB, free: 39.27 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/1.493, allocations: 56 kB / 0.8372 GB, free: 39.22 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02334/1.516, allocations: 12.84 MB / 0.8498 GB, free: 26.34 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.516, allocations: 88.12 kB / 0.8499 GB, free: 26.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/1.516, allocations: 192 kB / 0.85 GB, free: 26.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/1.52, allocations: 1.314 MB / 0.8513 GB, free: 24.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/1.527, allocations: 2.168 MB / 0.8534 GB, free: 22.58 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.538, allocations: 7.734 MB / 0.861 GB, free: 14.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007277/1.545, allocations: 0.5073 MB / 0.8615 GB, free: 14.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.547, allocations: 0.5413 MB / 0.862 GB, free: 13.69 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.005525/1.552, allocations: 3.448 MB / 0.8654 GB, free: 10.23 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.553, allocations: 0.5587 MB / 0.8659 GB, free: 9.668 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/1.563, allocations: 5.389 MB / 0.8712 GB, free: 4.219 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/1.563, allocations: 43.98 kB / 0.8712 GB, free: 4.176 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.563, allocations: 11.98 kB / 0.8712 GB, free: 4.164 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.563, allocations: 11.95 kB / 0.8713 GB, free: 4.152 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02881/1.592, allocations: 13.9 MB / 0.8848 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/1.592, allocations: 12 kB / 0.8848 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.594, allocations: 0.4914 MB / 0.8853 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003553/1.598, allocations: 0.8247 MB / 0.8861 GB, free: 4.711 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004367/1.598, allocations: 75.98 kB / 0.8862 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.609, allocations: 5.697 MB / 0.8918 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.609, allocations: 15.94 kB / 0.8918 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/1.626, allocations: 8.317 MB / 0.8999 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.627, allocations: 0.5156 MB / 0.9004 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009993/1.628, allocations: 67.92 kB / 0.9005 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.631, allocations: 142.2 kB / 0.9006 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/1.631, allocations: 225.4 kB / 0.9008 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.631, allocations: 102.2 kB / 0.9009 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006802/1.638, allocations: 3.667 MB / 0.9045 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.638, allocations: 4 kB / 0.9045 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009081/1.647, allocations: 1.6 MB / 0.9061 GB, free: 15.93 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.01715/1.664, allocations: 9.06 MB / 0.9149 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0152/1.679, allocations: 7.504 MB / 0.9222 GB, free: 15.08 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/1.68, allocations: 4.438 kB / 0.9222 GB, free: 15.08 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/1.684, allocations: 2.219 MB / 0.9244 GB, free: 12.85 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.688, allocations: 0.7168 MB / 0.9251 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4302/2.118, allocations: 73.82 MB / 0.9972 GB, free: 253.8 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007209/2.126, allocations: 5.157 MB / 1.002 GB, free: 252.9 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.006232/2.132, allocations: 2.963 MB / 1.005 GB, free: 252.8 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004572/2.136, allocations: 3.327 MB / 1.008 GB, free: 251.2 MB / 0.6857 GB Notification: Performance of SimCode: time 1.924e-06/2.136, allocations: 0 / 1.008 GB, free: 251.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/2.301, allocations: 114.9 MB / 1.121 GB, free: 147.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.71/27.01, allocations: 15.25 kB / 1.121 GB, free: 147.7 MB / 0.6857 GB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 30.033435999415815] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 27.16890833573416 27.178792234 26.645144286 Calling exit ...