Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001655/0.001655, allocations: 121.2 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.001984/0.001984, 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.576/1.576, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2226/0.2226, allocations: 46.93 MB / 357.7 MB, free: 10.24 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.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.002264/0.002264, allocations: 84.19 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 66.04 MB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0193/0.1473, allocations: 16.05 MB / 0.5718 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.1616, allocations: 5.472 MB / 0.5772 GB, free: 4 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.1649, allocations: 135.4 kB / 0.5773 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.1749, allocations: 5.167 MB / 0.5823 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.1821, allocations: 2.664 MB / 0.5849 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.1856, allocations: 1.396 MB / 0.5863 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2982/0.4838, allocations: 8.241 MB / 0.5943 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.4944, allocations: 5.757 MB / 0.6 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008858/0.5033, allocations: 2.812 MB / 0.6027 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008055/0.5113, allocations: 4.019 MB / 0.6066 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003004/0.5143, allocations: 0.6371 MB / 0.6073 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005245/0.5196, allocations: 1.827 MB / 0.609 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005614/0.5252, allocations: 3.443 MB / 0.6124 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007908/0.5331, allocations: 3.781 MB / 0.6161 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02046/0.5535, allocations: 12.19 MB / 0.628 GB, free: 13.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5535, allocations: 1.969 kB / 0.628 GB, free: 13.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5535, allocations: 0 / 0.628 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006177/0.5542, allocations: 0 / 0.628 GB, free: 13.03 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02775/0.5819, allocations: 8.38 MB / 0.6362 GB, free: 7.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.582, allocations: 9.906 kB / 0.6362 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004159/0.5861, allocations: 1.156 MB / 0.6373 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05691/0.643, allocations: 8.414 MB / 0.6455 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.6589, allocations: 5.891 MB / 0.6513 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.6593, allocations: 381.2 kB / 0.6517 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.6619, allocations: 0.5141 MB / 0.6522 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03642/0.6984, allocations: 15.42 MB / 0.6672 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/0.6986, allocations: 64.38 kB / 0.6673 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.6999, allocations: 236.9 kB / 0.6675 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004497/0.7044, allocations: 2.546 MB / 0.67 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03122/0.7356, allocations: 12.88 MB / 0.6826 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09162/0.8272, allocations: 57.02 MB / 0.7383 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/0.8465, allocations: 6.11 MB / 0.7442 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/0.8521, allocations: 3.097 MB / 0.7472 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/0.8738, allocations: 11.38 MB / 0.7584 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.8738, allocations: 60.55 kB / 0.7584 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=245): time 4.94e-06/0.8738, allocations: 0 / 0.7584 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=338): time 0.1474/1.021, allocations: 39.82 MB / 0.7973 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.021, allocations: 245.1 kB / 0.7975 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.032, allocations: 5.752 MB / 0.8031 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009147/1.033, allocations: 77.7 kB / 0.8032 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004561/1.038, allocations: 4.611 MB / 0.8077 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002356/1.04, allocations: 1.292 MB / 0.809 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003344/1.044, allocations: 1.639 MB / 0.8106 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.044, allocations: 305.1 kB / 0.8109 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007026/1.051, allocations: 3.774 MB / 0.8146 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.063, allocations: 8.305 MB / 0.8227 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01914/1.082, allocations: 13.01 MB / 0.8354 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/1.082, allocations: 48 kB / 0.8354 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.3597/1.442, allocations: 15.44 MB / 0.8505 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.442, allocations: 72.19 kB / 0.8506 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/1.442, allocations: 156.6 kB / 0.8507 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01525/1.457, allocations: 4.101 MB / 0.8547 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/1.464, allocations: 1.795 MB / 0.8565 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.492, allocations: 20.93 MB / 0.8769 GB, free: 206.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008339/1.5, allocations: 0.4942 MB / 0.8774 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/1.503, allocations: 468 kB / 0.8779 GB, free: 206.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (966): * Single equations (assignments): 962 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006958/1.51, allocations: 3.118 MB / 0.8809 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.511, allocations: 0.5475 MB / 0.8814 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.53, allocations: 9.571 MB / 0.8908 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/1.53, allocations: 33.97 kB / 0.8908 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.53, allocations: 13.84 kB / 0.8908 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/1.53, allocations: 15.42 kB / 0.8908 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/1.566, allocations: 19.57 MB / 0.9099 GB, free: 186.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.566, allocations: 8.875 kB / 0.91 GB, free: 186.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.569, allocations: 500 kB / 0.9104 GB, free: 186.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01145/1.58, allocations: 3.649 MB / 0.914 GB, free: 182.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007236/1.581, allocations: 63.98 kB / 0.9141 GB, free: 182.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/1.603, allocations: 18.45 MB / 0.9321 GB, free: 164 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.603, allocations: 8 kB / 0.9321 GB, free: 164 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/1.626, allocations: 14.21 MB / 0.9459 GB, free: 150 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.627, allocations: 0.5949 MB / 0.9465 GB, free: 149.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.628, allocations: 60 kB / 0.9466 GB, free: 149.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.631, allocations: 227.7 kB / 0.9468 GB, free: 149.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008143/1.632, allocations: 225.4 kB / 0.947 GB, free: 148.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/1.632, allocations: 95.38 kB / 0.9471 GB, free: 148.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005382/1.638, allocations: 3.643 MB / 0.9507 GB, free: 145.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.638, allocations: 0 / 0.9507 GB, free: 145.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008272/1.646, allocations: 1.681 MB / 0.9523 GB, free: 143.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.w) * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02303/1.669, allocations: 14.96 MB / 0.9669 GB, free: 128.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.683, allocations: 8.826 MB / 0.9755 GB, free: 119.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.683, allocations: 0 / 0.9755 GB, free: 119.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004888/1.688, allocations: 3.316 MB / 0.9788 GB, free: 116.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/1.693, allocations: 0.7694 MB / 0.9795 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1217/1.815, allocations: 78.51 MB / 1.056 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005348/1.82, allocations: 4.83 MB / 1.061 GB, free: 25.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005429/1.825, allocations: 2.59 MB / 1.063 GB, free: 22.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004811/1.83, allocations: 3.065 MB / 1.066 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of SimCode: time 1.472e-06/1.83, allocations: 0 / 1.066 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/2.3, allocations: 128.9 MB / 1.192 GB, free: 165.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.46/40.76, allocations: 15.84 kB / 1.192 GB, free: 165.8 MB / 0.67 GB " [Timeout remaining time 619] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 44.007669975049794] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 40.92396268993616 40.939454837 40.382465179 Calling exit ...