Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_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.001073/0.001073, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.462/0.462, allocations: 43.54 MB / 314.5 MB, free: 8.801 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005798/0.0005799, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3162/0.4606, allocations: 37.15 MB / 480 MB, free: 28.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0231/0.4838, allocations: 9.484 MB / 489.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/0.4945, allocations: 186.4 kB / 489.7 MB, free: 21.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007161/0.5017, allocations: 1.808 MB / 491.5 MB, free: 21.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.5204, allocations: 5.406 MB / 496.9 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.5241, allocations: 0.8326 MB / 497.7 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02674/0.5509, allocations: 14.65 MB / 0.5003 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008161/0.5591, allocations: 4.097 MB / 0.5043 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.5627, allocations: 1.229 MB / 0.5055 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003938/0.5667, allocations: 1.689 MB / 0.5072 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.5681, allocations: 168.8 kB / 0.5074 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.5714, allocations: 1.064 MB / 0.5084 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.5735, allocations: 1.827 MB / 0.5102 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.5749, allocations: 0.9369 MB / 0.5111 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.5813, allocations: 6.321 MB / 0.5173 GB, free: 3.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5814, allocations: 0 / 0.5173 GB, free: 3.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5814, allocations: 0 / 0.5173 GB, free: 3.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.5817, allocations: 4 kB / 0.5173 GB, free: 3.734 MB / 382.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.01353/0.5952, allocations: 5.19 MB / 0.5223 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5953, allocations: 8.031 kB / 0.5223 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002781/0.598, allocations: 0.7944 MB / 0.5231 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08496/0.683, allocations: 8.471 MB / 0.5314 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009913/0.693, allocations: 3.606 MB / 0.5349 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.6934, allocations: 258.4 kB / 0.5352 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.6948, allocations: 355.7 kB / 0.5355 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.7196, allocations: 12.45 MB / 0.5477 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.7198, allocations: 55.44 kB / 0.5477 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004836/0.7203, allocations: 163.8 kB / 0.5479 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004014/0.7243, allocations: 2.381 MB / 0.5502 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.7481, allocations: 10.87 MB / 0.5608 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06986/0.818, allocations: 48.98 MB / 0.6086 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/0.8341, allocations: 5.948 MB / 0.6144 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/0.8558, allocations: 13.14 MB / 0.6273 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/0.8559, allocations: 55.88 kB / 0.6273 GB, free: 156 kB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 7.173e-06/0.8559, allocations: 0 / 0.6273 GB, free: 156 kB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.4072/1.263, allocations: 39.66 MB / 0.6661 GB, free: 132.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.263, allocations: 209.5 kB / 0.6663 GB, free: 132 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/1.272, allocations: 4.627 MB / 0.6708 GB, free: 130.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008254/1.273, allocations: 65.77 kB / 0.6708 GB, free: 130.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/1.275, allocations: 3.441 MB / 0.6742 GB, free: 127.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.276, allocations: 0.9421 MB / 0.6751 GB, free: 126.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.277, allocations: 135.6 kB / 0.6753 GB, free: 126.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003416/1.277, allocations: 0.5964 MB / 0.6758 GB, free: 126.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/1.281, allocations: 3.094 MB / 0.6789 GB, free: 125.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/1.287, allocations: 6.981 MB / 0.6857 GB, free: 118.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/1.293, allocations: 4.537 MB / 0.6901 GB, free: 116.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-05/1.293, allocations: 44 kB / 0.6902 GB, free: 116.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02858/1.321, allocations: 12.61 MB / 0.7025 GB, free: 104 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.322, allocations: 64 kB / 0.7025 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/1.322, allocations: 140 kB / 0.7027 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008829/1.331, allocations: 3.271 MB / 0.7059 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/1.336, allocations: 1.532 MB / 0.7073 GB, free: 98.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.355, allocations: 16.06 MB / 0.723 GB, free: 82.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/1.362, allocations: 439.3 kB / 0.7235 GB, free: 82.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.364, allocations: 403.7 kB / 0.7238 GB, free: 81.96 MB / 494.1 MB 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.006074/1.37, allocations: 2.35 MB / 0.7261 GB, free: 79.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.372, allocations: 409.6 kB / 0.7265 GB, free: 79.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.385, allocations: 7.515 MB / 0.7339 GB, free: 71.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-05/1.385, allocations: 27.94 kB / 0.7339 GB, free: 71.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/1.385, allocations: 12 kB / 0.7339 GB, free: 71.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/1.385, allocations: 11.95 kB / 0.7339 GB, free: 71.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.412, allocations: 15.21 MB / 0.7488 GB, free: 56.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/1.412, allocations: 0 / 0.7488 GB, free: 56.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/1.414, allocations: 387.4 kB / 0.7491 GB, free: 56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00799/1.422, allocations: 2.936 MB / 0.752 GB, free: 53.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006207/1.423, allocations: 43.59 kB / 0.752 GB, free: 53.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.441, allocations: 14.3 MB / 0.766 GB, free: 38.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.441, allocations: 0 / 0.766 GB, free: 38.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.459, allocations: 11.55 MB / 0.7773 GB, free: 26.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/1.462, allocations: 0.9369 MB / 0.7782 GB, free: 25.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/1.464, allocations: 44 kB / 0.7782 GB, free: 25.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.467, allocations: 191.7 kB / 0.7784 GB, free: 25.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.467, allocations: 146.7 kB / 0.7786 GB, free: 25.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.468, allocations: 64 kB / 0.7786 GB, free: 25.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00442/1.472, allocations: 2.931 MB / 0.7815 GB, free: 22.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.472, allocations: 0 / 0.7815 GB, free: 22.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007588/1.48, allocations: 1.341 MB / 0.7828 GB, free: 21.27 MB / 494.1 MB 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.01818/1.498, allocations: 12.38 MB / 0.7949 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.511, allocations: 7.785 MB / 0.8025 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.511, allocations: 4 kB / 0.8025 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005193/1.516, allocations: 3.116 MB / 0.8055 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/1.519, allocations: 467.1 kB / 0.806 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3992/1.918, allocations: 140.6 MB / 0.9433 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005952/1.924, allocations: 3.768 MB / 0.947 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00758/1.932, allocations: 2.183 MB / 0.9491 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005217/1.937, allocations: 2.232 MB / 0.9513 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/1.937, allocations: 4 kB / 0.9513 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4269/2.364, allocations: 102.7 MB / 1.052 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.365, allocations: 199.1 kB / 1.052 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.722/7.086, allocations: 0 / 1.052 GB, free: 149.4 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat