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.001282/0.001282, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001367/0.001367, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.458/1.458, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2315/0.2315, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002274/0.002274, allocations: 79.88 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 66.05 MB / 0.5562 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02094/0.1655, allocations: 17.7 MB / 0.5734 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.1807, allocations: 5.711 MB / 0.579 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004039/0.1847, allocations: 131.4 kB / 0.5791 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.1952, allocations: 4.645 MB / 0.5837 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008808/0.2041, allocations: 3.051 MB / 0.5867 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.2078, allocations: 1.505 MB / 0.5881 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.295/0.5027, allocations: 8.935 MB / 0.5969 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009693/0.5124, allocations: 5.471 MB / 0.6022 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006932/0.5193, allocations: 3.058 MB / 0.6052 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008458/0.5278, allocations: 4.616 MB / 0.6097 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003148/0.531, allocations: 0.6624 MB / 0.6103 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.5372, allocations: 1.885 MB / 0.6122 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006797/0.544, allocations: 3.794 MB / 0.6159 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008839/0.5529, allocations: 4.225 MB / 0.62 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02328/0.5761, allocations: 13.75 MB / 0.6334 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5761, allocations: 3.25 kB / 0.6334 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5761, allocations: 0 / 0.6334 GB, free: 9.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006197/0.5768, allocations: 0 / 0.6334 GB, free: 9.977 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.02718/0.6039, allocations: 9.339 MB / 0.6426 GB, free: 3.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.604, allocations: 11.41 kB / 0.6426 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004384/0.6084, allocations: 1.424 MB / 0.644 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03353/0.6419, allocations: 6.006 MB / 0.6498 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.6572, allocations: 6.016 MB / 0.6557 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006097/0.6578, allocations: 448.4 kB / 0.6561 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.6609, allocations: 0.5976 MB / 0.6567 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04685/0.7078, allocations: 20.56 MB / 0.6768 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/0.7082, allocations: 83.98 kB / 0.6769 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/0.7109, allocations: 273.3 kB / 0.6771 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006724/0.7176, allocations: 3.714 MB / 0.6808 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04092/0.7585, allocations: 18.06 MB / 0.6984 GB, free: 10.57 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.1195/0.8781, allocations: 74.12 MB / 0.7708 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.8982, allocations: 7.145 MB / 0.7778 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006718/0.9049, allocations: 3.743 MB / 0.7814 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03815/0.943, allocations: 18.05 MB / 0.799 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/0.9431, allocations: 60.56 kB / 0.7991 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 6.953e-06/0.9431, allocations: 4 kB / 0.7991 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.3996/1.343, allocations: 34.67 MB / 0.833 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/1.343, allocations: 192.4 kB / 0.8331 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/1.356, allocations: 6.488 MB / 0.8395 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007356/1.356, allocations: 85.86 kB / 0.8396 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004333/1.361, allocations: 5.645 MB / 0.8451 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/1.363, allocations: 1.594 MB / 0.8466 GB, free: 204 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004562/1.367, allocations: 2.083 MB / 0.8487 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/1.367, allocations: 305.4 kB / 0.8489 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007941/1.375, allocations: 4.176 MB / 0.853 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01166/1.387, allocations: 10.07 MB / 0.8629 GB, free: 192 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/1.403, allocations: 15.37 MB / 0.8779 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000264/1.403, allocations: 63.62 kB / 0.8779 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03236/1.435, allocations: 15.95 MB / 0.8935 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/1.435, allocations: 93.97 kB / 0.8936 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003232/1.436, allocations: 208 kB / 0.8938 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007466/1.443, allocations: 2.311 MB / 0.896 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007798/1.451, allocations: 2.403 MB / 0.8984 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/1.467, allocations: 12.5 MB / 0.9106 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008756/1.476, allocations: 0.5828 MB / 0.9112 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002381/1.478, allocations: 0.5916 MB / 0.9118 GB, free: 161.3 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.007221/1.486, allocations: 3.752 MB / 0.9154 GB, free: 157.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.487, allocations: 0.6324 MB / 0.916 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/1.502, allocations: 8.14 MB / 0.924 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-05/1.502, allocations: 61.41 kB / 0.924 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.502, allocations: 8 kB / 0.924 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-05/1.502, allocations: 27.86 kB / 0.9241 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03534/1.538, allocations: 18.5 MB / 0.9421 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/1.538, allocations: 8.969 kB / 0.9421 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.54, allocations: 0.6201 MB / 0.9428 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006281/1.547, allocations: 1.748 MB / 0.9445 GB, free: 127.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007342/1.547, allocations: 77.33 kB / 0.9445 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.562, allocations: 10.59 MB / 0.9549 GB, free: 116.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/1.562, allocations: 15.94 kB / 0.9549 GB, free: 116.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/1.581, allocations: 12.17 MB / 0.9668 GB, free: 104.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.582, allocations: 0.6569 MB / 0.9674 GB, free: 103.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/1.584, allocations: 69.8 kB / 0.9675 GB, free: 103.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/1.588, allocations: 211.7 kB / 0.9677 GB, free: 103.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000917/1.589, allocations: 260.2 kB / 0.9679 GB, free: 103.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.589, allocations: 112 kB / 0.968 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006304/1.595, allocations: 4.038 MB / 0.972 GB, free: 98.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/1.595, allocations: 0 / 0.972 GB, free: 98.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01164/1.607, allocations: 1.874 MB / 0.9738 GB, free: 97.05 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.02193/1.629, allocations: 12.95 MB / 0.9865 GB, free: 83.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01492/1.644, allocations: 9.409 MB / 0.9956 GB, free: 74.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.644, allocations: 0.9375 kB / 0.9956 GB, free: 74.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.648, allocations: 3.052 MB / 0.9986 GB, free: 71.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005666/1.654, allocations: 0.8134 MB / 0.9994 GB, free: 70.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4256/2.08, allocations: 87.64 MB / 1.085 GB, free: 210.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01196/2.092, allocations: 5.578 MB / 1.09 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00899/2.101, allocations: 3.315 MB / 1.094 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005774/2.106, allocations: 3.667 MB / 1.097 GB, free: 208 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/2.106, allocations: 0 / 1.097 GB, free: 208 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2419/2.348, allocations: 128.9 MB / 1.223 GB, free: 100.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.88/39.23, allocations: 8.016 kB / 1.223 GB, free: 100.5 MB / 0.6544 GB " [Timeout remaining time 621] (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: 42.37913262890652] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 39.399886508937925 39.415327504 38.835695295 Calling exit ...