Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 212.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.9 MB / 358.8 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.88 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 65.46 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02001/0.3497, allocations: 17.76 MB / 0.5744 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.3621, allocations: 5.749 MB / 0.58 GB, free: 212 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.3649, allocations: 131.4 kB / 0.5801 GB, free: 80 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009574/0.3745, allocations: 4.653 MB / 0.5846 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009298/0.3838, allocations: 3.078 MB / 0.5876 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.3874, allocations: 1.494 MB / 0.5891 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01309/0.4005, allocations: 8.948 MB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007258/0.4078, allocations: 5.249 MB / 0.603 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/0.4132, allocations: 3.065 MB / 0.606 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007706/0.4209, allocations: 4.611 MB / 0.6105 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002442/0.4234, allocations: 0.6641 MB / 0.6111 GB, free: 176 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.4282, allocations: 1.884 MB / 0.613 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00471/0.4329, allocations: 3.798 MB / 0.6167 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006093/0.439, allocations: 4.226 MB / 0.6208 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.4569, allocations: 13.65 MB / 0.6341 GB, free: 8.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4569, allocations: 0 / 0.6341 GB, free: 8.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4569, allocations: 0 / 0.6341 GB, free: 8.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000439/0.4573, allocations: 0 / 0.6341 GB, free: 8.52 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.02355/0.4809, allocations: 9.268 MB / 0.6432 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4809, allocations: 8.031 kB / 0.6432 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003721/0.4847, allocations: 1.419 MB / 0.6446 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/0.515, allocations: 6.013 MB / 0.6504 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/0.5313, allocations: 5.923 MB / 0.6562 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008751/0.5322, allocations: 442.9 kB / 0.6566 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004645/0.5368, allocations: 0.6011 MB / 0.6572 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/0.5803, allocations: 20.57 MB / 0.6773 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.5806, allocations: 75.34 kB / 0.6774 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001226/0.5818, allocations: 279.7 kB / 0.6777 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009152/0.5909, allocations: 3.706 MB / 0.6813 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/0.6322, allocations: 18.08 MB / 0.6989 GB, free: 4.781 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.581/1.213, allocations: 74.11 MB / 0.7713 GB, free: 106.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/1.228, allocations: 6.239 MB / 0.7774 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004591/1.233, allocations: 3.747 MB / 0.7811 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/1.258, allocations: 15.35 MB / 0.796 GB, free: 94.67 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.258, allocations: 67.66 kB / 0.7961 GB, free: 94.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 6.222e-06/1.258, allocations: 0 / 0.7961 GB, free: 94.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.09947/1.358, allocations: 34.23 MB / 0.8295 GB, free: 60.94 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/1.358, allocations: 200.9 kB / 0.8297 GB, free: 60.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007928/1.366, allocations: 6.487 MB / 0.8361 GB, free: 54.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.367, allocations: 89.7 kB / 0.8361 GB, free: 54.25 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.371, allocations: 5.636 MB / 0.8417 GB, free: 48.96 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.373, allocations: 1.588 MB / 0.8432 GB, free: 47.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002603/1.375, allocations: 2.087 MB / 0.8452 GB, free: 45.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/1.375, allocations: 305.1 kB / 0.8455 GB, free: 45 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00524/1.381, allocations: 4.178 MB / 0.8496 GB, free: 40.81 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007098/1.388, allocations: 10.07 MB / 0.8594 GB, free: 27.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.401, allocations: 15.37 MB / 0.8745 GB, free: 9.625 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.402, allocations: 60 kB / 0.8745 GB, free: 9.566 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03209/1.434, allocations: 15.94 MB / 0.8901 GB, free: 9.598 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.434, allocations: 95.98 kB / 0.8902 GB, free: 9.504 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/1.434, allocations: 207.9 kB / 0.8904 GB, free: 9.301 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008124/1.442, allocations: 2.308 MB / 0.8926 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008609/1.451, allocations: 2.402 MB / 0.895 GB, free: 4.582 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/1.473, allocations: 12.39 MB / 0.9071 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008408/1.481, allocations: 0.5814 MB / 0.9076 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/1.483, allocations: 0.5881 MB / 0.9082 GB, free: 6.902 MB / 0.5919 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.007902/1.491, allocations: 3.759 MB / 0.9119 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.493, allocations: 0.6247 MB / 0.9125 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/1.511, allocations: 8.137 MB / 0.9204 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001344/1.511, allocations: 66.09 kB / 0.9205 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/1.511, allocations: 16 kB / 0.9205 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-05/1.511, allocations: 15.94 kB / 0.9205 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04154/1.553, allocations: 18.48 MB / 0.9386 GB, free: 7.387 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/1.553, allocations: 16 kB / 0.9386 GB, free: 7.371 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/1.556, allocations: 0.6162 MB / 0.9392 GB, free: 6.754 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00673/1.563, allocations: 1.753 MB / 0.9409 GB, free: 4.996 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006147/1.563, allocations: 75.98 kB / 0.941 GB, free: 4.922 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/1.583, allocations: 10.48 MB / 0.9512 GB, free: 10.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/1.583, allocations: 19.94 kB / 0.9512 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.607, allocations: 12.17 MB / 0.9631 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.609, allocations: 0.5698 MB / 0.9637 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.611, allocations: 79.98 kB / 0.9638 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/1.614, allocations: 195.8 kB / 0.9639 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008601/1.615, allocations: 273.5 kB / 0.9642 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.615, allocations: 115.9 kB / 0.9643 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007883/1.623, allocations: 4.034 MB / 0.9682 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.81e-07/1.623, allocations: 0 / 0.9682 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009511/1.633, allocations: 1.879 MB / 0.9701 GB, free: 6.742 MB / 0.6544 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.02461/1.657, allocations: 12.94 MB / 0.9827 GB, free: 9.523 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01904/1.676, allocations: 9.419 MB / 0.9919 GB, free: 116 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/1.676, allocations: 0 / 0.9919 GB, free: 116 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2738/1.95, allocations: 3.048 MB / 0.9949 GB, free: 251.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.955, allocations: 0.8162 MB / 0.9957 GB, free: 251.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1205/2.075, allocations: 87.81 MB / 1.081 GB, free: 170.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006335/2.081, allocations: 5.584 MB / 1.087 GB, free: 164.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00667/2.088, allocations: 3.308 MB / 1.09 GB, free: 161.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004193/2.092, allocations: 3.663 MB / 1.094 GB, free: 157.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.522e-06/2.092, allocations: 0 / 1.094 GB, free: 157.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1783/2.271, allocations: 133.1 MB / 1.224 GB, free: 25.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.42/41.69, allocations: 11.84 kB / 1.224 GB, free: 25.15 MB / 0.67 GB " [Timeout remaining time 618] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 45.17403298900172] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 41.88639329899888 42.147102916 41.685270069 Calling exit ...