Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007715/0.0007716, allocations: 99.83 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009948, allocations: 179 kB / 17.89 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2517/0.2517, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8.844 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03741/0.1701, allocations: 39.3 MB / 0.499 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3601/0.5302, allocations: 9.104 MB / 0.5079 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009514/0.5397, allocations: 189.5 kB / 0.5081 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008839/0.5486, allocations: 2.012 MB / 0.51 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02469/0.5733, allocations: 6.156 MB / 0.516 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.5777, allocations: 0.8507 MB / 0.5169 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04342/0.6211, allocations: 33.43 MB / 0.5495 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007483/0.6286, allocations: 4.105 MB / 0.5535 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.6335, allocations: 1.477 MB / 0.555 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/0.6389, allocations: 2.336 MB / 0.5572 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.6404, allocations: 172 kB / 0.5574 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.6438, allocations: 1.105 MB / 0.5585 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.6463, allocations: 1.954 MB / 0.5604 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.6481, allocations: 0.9321 MB / 0.5613 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008145/0.6562, allocations: 6.302 MB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6563, allocations: 2.062 kB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.6563, allocations: 0 / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.6566, allocations: 3.938 kB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01293/0.6695, allocations: 4.97 MB / 0.5723 GB, free: 7.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6696, allocations: 8.031 kB / 0.5723 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002549/0.6721, allocations: 0.794 MB / 0.5731 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06822/0.7404, allocations: 7.415 MB / 0.5803 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009884/0.7503, allocations: 3.707 MB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.7506, allocations: 254 kB / 0.5842 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.7522, allocations: 350.6 kB / 0.5845 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.7761, allocations: 12.29 MB / 0.5965 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.7763, allocations: 55.52 kB / 0.5966 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005139/0.7769, allocations: 166.6 kB / 0.5967 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.7806, allocations: 2.373 MB / 0.5991 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.8037, allocations: 10.68 MB / 0.6095 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06422/0.868, allocations: 48.77 MB / 0.6571 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/0.8821, allocations: 5.85 MB / 0.6628 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/0.886, allocations: 3.114 MB / 0.6659 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/0.9043, allocations: 13.01 MB / 0.6786 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.9044, allocations: 51.88 kB / 0.6786 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 4.158e-06/0.9044, allocations: 4 kB / 0.6786 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.3922/1.297, allocations: 38.85 MB / 0.7166 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.297, allocations: 209.6 kB / 0.7168 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00818/1.305, allocations: 4.366 MB / 0.721 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007903/1.306, allocations: 63.33 kB / 0.7211 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.308, allocations: 3.43 MB / 0.7244 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.31, allocations: 0.9415 MB / 0.7254 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/1.31, allocations: 137.9 kB / 0.7255 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003488/1.311, allocations: 0.5872 MB / 0.7261 GB, free: 182 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/1.315, allocations: 3.093 MB / 0.7291 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/1.321, allocations: 7.015 MB / 0.7359 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006318/1.328, allocations: 4.541 MB / 0.7404 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.328, allocations: 38.78 kB / 0.7404 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02623/1.354, allocations: 12.61 MB / 0.7527 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.354, allocations: 69.88 kB / 0.7528 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.354, allocations: 136 kB / 0.7529 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008124/1.362, allocations: 3.268 MB / 0.7561 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.368, allocations: 1.536 MB / 0.7576 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/1.387, allocations: 15.51 MB / 0.7728 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.393, allocations: 440.1 kB / 0.7732 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.395, allocations: 409.4 kB / 0.7736 GB, free: 143.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005978/1.401, allocations: 2.339 MB / 0.7758 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/1.402, allocations: 406.8 kB / 0.7762 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.416, allocations: 7.507 MB / 0.7836 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/1.416, allocations: 24 kB / 0.7836 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.963e-05/1.416, allocations: 15.95 kB / 0.7836 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/1.416, allocations: 11.95 kB / 0.7836 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.443, allocations: 15.19 MB / 0.7984 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/1.443, allocations: 4 kB / 0.7985 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.445, allocations: 375.5 kB / 0.7988 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007773/1.453, allocations: 2.935 MB / 0.8017 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.454, allocations: 40.78 kB / 0.8017 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/1.471, allocations: 13.73 MB / 0.8151 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.471, allocations: 0 / 0.8151 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.488, allocations: 11.47 MB / 0.8263 GB, free: 89.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.489, allocations: 451.7 kB / 0.8268 GB, free: 89.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007667/1.49, allocations: 36 kB / 0.8268 GB, free: 89.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.492, allocations: 201.8 kB / 0.827 GB, free: 88.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/1.492, allocations: 145.8 kB / 0.8271 GB, free: 88.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/1.493, allocations: 60 kB / 0.8272 GB, free: 88.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003847/1.496, allocations: 2.731 MB / 0.8298 GB, free: 85.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.21e-07/1.496, allocations: 0 / 0.8298 GB, free: 85.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007261/1.504, allocations: 1.312 MB / 0.8311 GB, free: 84.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01797/1.522, allocations: 12.12 MB / 0.843 GB, free: 72.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.534, allocations: 7.798 MB / 0.8506 GB, free: 64.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.534, allocations: 0 / 0.8506 GB, free: 64.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.538, allocations: 3.112 MB / 0.8536 GB, free: 61.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.543, allocations: 0.4976 MB / 0.8541 GB, free: 61.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08639/1.629, allocations: 45.8 MB / 0.8988 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2666/1.896, allocations: 3.666 MB / 0.9024 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008057/1.904, allocations: 2.17 MB / 0.9045 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003813/1.908, allocations: 2.215 MB / 0.9067 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/1.908, allocations: 0 / 0.9067 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/2.126, allocations: 101.6 MB / 1.006 GB, free: 97.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/2.126, allocations: 219 kB / 1.006 GB, free: 97.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/6.772, allocations: 0 / 1.006 GB, free: 97.65 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat