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.00171/0.00171, allocations: 110 kB / 20.42 MB, free: 1.672 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.002141/0.002141, allocations: 210.1 kB / 23.71 MB, free: 5.062 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.468/1.468, allocations: 230.2 MB / 257.1 MB, free: 8.504 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.2534/0.2534, allocations: 46.88 MB / 360.3 MB, free: 4.668 MB / 286.1 MB " [Timeout remaining time 179] 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.002244/0.002244, allocations: 83.86 kB / 0.4955 GB, free: 8.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 65.99 MB / 0.56 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02033/0.3607, allocations: 17.76 MB / 0.5773 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.3762, allocations: 5.749 MB / 0.5829 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004944/0.3811, allocations: 107.8 kB / 0.583 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009882/0.391, allocations: 4.649 MB / 0.5876 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009477/0.4005, allocations: 3.054 MB / 0.5905 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.4042, allocations: 1.505 MB / 0.592 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01385/0.418, allocations: 8.939 MB / 0.6007 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007863/0.4259, allocations: 4.815 MB / 0.6054 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00645/0.4324, allocations: 3.018 MB / 0.6084 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008915/0.4413, allocations: 4.611 MB / 0.6129 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002659/0.4439, allocations: 0.6602 MB / 0.6135 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.4493, allocations: 1.884 MB / 0.6154 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006061/0.4553, allocations: 3.802 MB / 0.6191 GB, free: 8.141 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009152/0.4645, allocations: 4.226 MB / 0.6232 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.4845, allocations: 13.65 MB / 0.6365 GB, free: 6.184 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4845, allocations: 0 / 0.6365 GB, free: 6.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4845, allocations: 0 / 0.6365 GB, free: 6.184 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000534/0.4851, allocations: 0 / 0.6365 GB, free: 6.184 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.02973/0.5148, allocations: 9.347 MB / 0.6457 GB, free: 12.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.5149, allocations: 8.031 kB / 0.6457 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005115/0.52, allocations: 1.419 MB / 0.6471 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03308/0.5531, allocations: 6.013 MB / 0.6529 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.5697, allocations: 6.015 MB / 0.6588 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.5702, allocations: 435 kB / 0.6592 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/0.5731, allocations: 0.605 MB / 0.6598 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/0.6166, allocations: 20.57 MB / 0.6799 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002978/0.6169, allocations: 83.33 kB / 0.68 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/0.6187, allocations: 271.7 kB / 0.6802 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006469/0.6252, allocations: 3.71 MB / 0.6839 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04161/0.6668, allocations: 18.08 MB / 0.7015 GB, free: 2.281 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.6645/1.331, allocations: 74.09 MB / 0.7739 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.347, allocations: 7.146 MB / 0.7809 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004402/1.352, allocations: 3.744 MB / 0.7845 GB, free: 99.37 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.38, allocations: 18.06 MB / 0.8021 GB, free: 87.13 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/1.38, allocations: 68.5 kB / 0.8022 GB, free: 87.05 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 7.083e-06/1.38, allocations: 0 / 0.8022 GB, free: 87.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1021/1.483, allocations: 34.67 MB / 0.8361 GB, free: 52.81 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/1.483, allocations: 196.8 kB / 0.8363 GB, free: 52.58 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008276/1.491, allocations: 6.487 MB / 0.8426 GB, free: 46.23 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008581/1.492, allocations: 85.7 kB / 0.8427 GB, free: 46.14 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.495, allocations: 5.638 MB / 0.8482 GB, free: 40.85 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.496, allocations: 1.595 MB / 0.8497 GB, free: 39.28 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/1.499, allocations: 2.081 MB / 0.8518 GB, free: 37.19 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/1.499, allocations: 301.1 kB / 0.8521 GB, free: 36.89 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/1.504, allocations: 4.186 MB / 0.8561 GB, free: 32.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007151/1.511, allocations: 10.07 MB / 0.866 GB, free: 19.76 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/1.527, allocations: 15.36 MB / 0.881 GB, free: 1.484 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/1.527, allocations: 60 kB / 0.881 GB, free: 1.426 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03566/1.563, allocations: 15.95 MB / 0.8966 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/1.563, allocations: 99.94 kB / 0.8967 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003576/1.563, allocations: 204 kB / 0.8969 GB, free: 1.152 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008277/1.572, allocations: 2.307 MB / 0.8992 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/1.581, allocations: 2.402 MB / 0.9015 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/1.603, allocations: 12.5 MB / 0.9137 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008495/1.611, allocations: 0.5793 MB / 0.9143 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.614, allocations: 0.596 MB / 0.9149 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.008067/1.622, allocations: 3.758 MB / 0.9185 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.623, allocations: 0.6208 MB / 0.9191 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.642, allocations: 8.144 MB / 0.9271 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001461/1.642, allocations: 56 kB / 0.9271 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/1.642, allocations: 12 kB / 0.9271 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001243/1.642, allocations: 19.92 kB / 0.9272 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/1.687, allocations: 18.5 MB / 0.9452 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/1.687, allocations: 16 kB / 0.9453 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.691, allocations: 0.617 MB / 0.9459 GB, free: 14.45 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006791/1.697, allocations: 1.742 MB / 0.9476 GB, free: 12.7 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007547/1.698, allocations: 79.98 kB / 0.9476 GB, free: 12.62 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.717, allocations: 10.6 MB / 0.958 GB, free: 1.879 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/1.717, allocations: 19.94 kB / 0.958 GB, free: 1.859 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02493/1.742, allocations: 12.17 MB / 0.9699 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.744, allocations: 0.6413 MB / 0.9705 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.746, allocations: 79.98 kB / 0.9706 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.749, allocations: 199.8 kB / 0.9708 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007177/1.749, allocations: 269 kB / 0.971 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.75, allocations: 116 kB / 0.9711 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008219/1.758, allocations: 4.03 MB / 0.9751 GB, free: 88 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.758, allocations: 4 kB / 0.9751 GB, free: 84 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01179/1.77, allocations: 1.871 MB / 0.9769 GB, free: 14.21 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.02636/1.796, allocations: 12.95 MB / 0.9896 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3088/2.105, allocations: 9.408 MB / 0.9987 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/2.105, allocations: 0 / 0.9987 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005223/2.11, allocations: 3.041 MB / 1.002 GB, free: 247.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/2.115, allocations: 0.8161 MB / 1.003 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1165/2.231, allocations: 87.82 MB / 1.088 GB, free: 159.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006737/2.238, allocations: 5.573 MB / 1.094 GB, free: 153.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006649/2.245, allocations: 3.316 MB / 1.097 GB, free: 150.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006691/2.251, allocations: 3.666 MB / 1.101 GB, free: 146.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.064e-06/2.251, allocations: 0 / 1.101 GB, free: 146.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/2.43, allocations: 125.3 MB / 1.223 GB, free: 21.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.36/39.79, allocations: 11.88 kB / 1.223 GB, free: 21.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.12358478968963] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 39.960185846313834 40.240900907 39.489094201 Calling exit ...