Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001754/0.001754, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002127/0.002127, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.464/1.464, allocations: 230.6 MB / 254.8 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.92 MB / 357.8 MB, free: 10.29 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+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_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.91 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1292, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01954/0.1488, allocations: 17.72 MB / 0.5734 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1627, allocations: 5.71 MB / 0.5789 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/0.167, allocations: 131.4 kB / 0.5791 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009181/0.1762, allocations: 4.637 MB / 0.5836 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008135/0.1843, allocations: 3.051 MB / 0.5866 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003705/0.188, allocations: 1.509 MB / 0.588 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3144/0.5025, allocations: 8.941 MB / 0.5968 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009958/0.5124, allocations: 5.47 MB / 0.6021 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008357/0.5208, allocations: 3.057 MB / 0.6051 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009977/0.5307, allocations: 4.617 MB / 0.6096 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003484/0.5342, allocations: 0.6625 MB / 0.6103 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.5401, allocations: 1.878 MB / 0.6121 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005936/0.546, allocations: 3.801 MB / 0.6158 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007344/0.5533, allocations: 4.219 MB / 0.6199 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.5733, allocations: 13.75 MB / 0.6333 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5733, allocations: 3.375 kB / 0.6333 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5734, allocations: 0 / 0.6333 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005179/0.5739, allocations: 0 / 0.6333 GB, free: 10.02 MB / 462.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.02572/0.5996, allocations: 9.34 MB / 0.6425 GB, free: 3.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5996, allocations: 8.062 kB / 0.6425 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003497/0.6, allocations: 225.3 kB / 0.6427 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004658/0.6046, allocations: 1.422 MB / 0.6441 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03318/0.6378, allocations: 6.018 MB / 0.65 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.6518, allocations: 6.02 MB / 0.6558 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005403/0.6523, allocations: 435.5 kB / 0.6562 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003315/0.6556, allocations: 0.6111 MB / 0.6568 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04423/0.6999, allocations: 20.57 MB / 0.6769 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/0.7002, allocations: 79.81 kB / 0.677 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/0.7023, allocations: 279.1 kB / 0.6773 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006312/0.7086, allocations: 3.716 MB / 0.6809 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0472/0.7558, allocations: 18.08 MB / 0.6986 GB, free: 10.52 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.1176/0.8734, allocations: 74.19 MB / 0.771 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/0.8924, allocations: 7.138 MB / 0.778 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006202/0.8986, allocations: 3.755 MB / 0.7817 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0343/0.9329, allocations: 18.06 MB / 0.7993 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.933, allocations: 68.5 kB / 0.7994 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 5.921e-06/0.933, allocations: 4 kB / 0.7994 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.3843/1.317, allocations: 34.67 MB / 0.8332 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/1.317, allocations: 192.7 kB / 0.8334 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.329, allocations: 6.488 MB / 0.8397 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007928/1.329, allocations: 87.2 kB / 0.8398 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004772/1.334, allocations: 5.648 MB / 0.8453 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.337, allocations: 1.583 MB / 0.8469 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004155/1.341, allocations: 2.086 MB / 0.8489 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/1.341, allocations: 308.6 kB / 0.8492 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007949/1.349, allocations: 4.18 MB / 0.8533 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/1.36, allocations: 10.07 MB / 0.8631 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/1.376, allocations: 15.37 MB / 0.8781 GB, free: 182 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002981/1.376, allocations: 61.44 kB / 0.8782 GB, free: 182 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03111/1.408, allocations: 15.94 MB / 0.8938 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/1.408, allocations: 94.16 kB / 0.8939 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002315/1.408, allocations: 207.3 kB / 0.8941 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006828/1.415, allocations: 2.308 MB / 0.8963 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/1.422, allocations: 2.408 MB / 0.8987 GB, free: 174.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/1.438, allocations: 12.52 MB / 0.9109 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00849/1.447, allocations: 0.5791 MB / 0.9115 GB, free: 162 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/1.448, allocations: 0.587 MB / 0.912 GB, free: 161.4 MB / 0.6387 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.008345/1.457, allocations: 3.748 MB / 0.9157 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.458, allocations: 0.6247 MB / 0.9163 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.474, allocations: 8.151 MB / 0.9243 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.828e-05/1.474, allocations: 60 kB / 0.9243 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/1.474, allocations: 8 kB / 0.9243 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/1.474, allocations: 25.8 kB / 0.9243 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0349/1.509, allocations: 18.51 MB / 0.9424 GB, free: 130 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-05/1.509, allocations: 8.188 kB / 0.9424 GB, free: 130 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/1.512, allocations: 0.6163 MB / 0.943 GB, free: 129.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006049/1.518, allocations: 1.747 MB / 0.9447 GB, free: 127.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007068/1.519, allocations: 80.61 kB / 0.9448 GB, free: 127.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.533, allocations: 10.58 MB / 0.9551 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.533, allocations: 15.94 kB / 0.9552 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/1.551, allocations: 12.17 MB / 0.9671 GB, free: 104.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.554, allocations: 0.653 MB / 0.9677 GB, free: 103.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.556, allocations: 72.53 kB / 0.9678 GB, free: 103.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.559, allocations: 204.3 kB / 0.968 GB, free: 103.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007847/1.56, allocations: 262.3 kB / 0.9682 GB, free: 103.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.56, allocations: 110 kB / 0.9683 GB, free: 103 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006365/1.566, allocations: 4.034 MB / 0.9723 GB, free: 99.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.566, allocations: 0 / 0.9723 GB, free: 99.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009624/1.576, allocations: 1.88 MB / 0.9741 GB, free: 97.14 MB / 0.6387 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.01829/1.594, allocations: 12.95 MB / 0.9867 GB, free: 83.92 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.609, allocations: 9.416 MB / 0.9959 GB, free: 74.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.609, allocations: 4.062 kB / 0.9959 GB, free: 74.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.614, allocations: 3.046 MB / 0.9989 GB, free: 71.44 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006494/1.62, allocations: 0.8179 MB / 0.9997 GB, free: 70.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4268/2.047, allocations: 87.65 MB / 1.085 GB, free: 211 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/2.06, allocations: 5.576 MB / 1.091 GB, free: 210.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008485/2.068, allocations: 3.31 MB / 1.094 GB, free: 210 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005381/2.074, allocations: 3.672 MB / 1.098 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.292e-06/2.074, allocations: 0 / 1.098 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/2.257, allocations: 129 MB / 1.224 GB, free: 100.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.05/40.31, allocations: 7.562 kB / 1.224 GB, free: 100.1 MB / 0.6544 GB " [Timeout remaining time 619] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 43.54627803200856] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 40.537271759007126 40.553075055 39.976365282 Calling exit ...