Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",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.0007901/0.0007902, allocations: 94.17 kB / 17 MB, free: 6.488 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.0007775/0.0007776, allocations: 186.7 kB / 17.89 MB, free: 5.949 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.357/1.357, allocations: 223.2 MB / 241.9 MB, free: 240 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.2063/0.2063, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003334, allocations: 9.656 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 61.92 MB / 471.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.04038/0.1766, allocations: 41.49 MB / 0.5011 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2862/0.4629, allocations: 8.659 MB / 0.5096 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007499/0.4704, allocations: 190.6 kB / 0.5097 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006736/0.4772, allocations: 2.024 MB / 0.5117 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0193/0.4965, allocations: 5.64 MB / 0.5172 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.5001, allocations: 0.5229 MB / 0.5177 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004884/0.505, allocations: 2.606 MB / 0.5203 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006768/0.5118, allocations: 5.051 MB / 0.5252 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.5134, allocations: 0.828 MB / 0.526 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.515, allocations: 1.297 MB / 0.5273 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.5153, allocations: 113.8 kB / 0.5274 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.5164, allocations: 0.5838 MB / 0.528 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008374/0.5172, allocations: 1.209 MB / 0.5292 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.5177, allocations: 0.6117 MB / 0.5298 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.5208, allocations: 4.5 MB / 0.5341 GB, free: 3.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5208, allocations: 0 / 0.5341 GB, free: 3.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5208, allocations: 0 / 0.5341 GB, free: 3.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.833e-05/0.5209, allocations: 0 / 0.5341 GB, free: 3.574 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.005145/0.526, allocations: 3.139 MB / 0.5372 GB, free: 1.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5261, allocations: 12.88 kB / 0.5372 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006864/0.5268, allocations: 0.537 MB / 0.5378 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.5286, allocations: 0.5836 MB / 0.5383 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.5314, allocations: 1.711 MB / 0.54 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.5315, allocations: 214.7 kB / 0.5402 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/0.5319, allocations: 276.4 kB / 0.5405 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.5461, allocations: 7.646 MB / 0.5479 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.5462, allocations: 19.81 kB / 0.5479 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.5465, allocations: 118.4 kB / 0.5481 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/0.5479, allocations: 1.108 MB / 0.5491 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.5614, allocations: 6.156 MB / 0.5552 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/0.5915, allocations: 22.91 MB / 0.5775 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/0.5979, allocations: 1.857 MB / 0.5793 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.5993, allocations: 0.822 MB / 0.5801 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/0.607, allocations: 5.791 MB / 0.5858 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6071, allocations: 43.2 kB / 0.5858 GB, free: 8.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.594e-06/0.6071, allocations: 0 / 0.5858 GB, free: 8.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.01403/0.6211, allocations: 4.403 MB / 0.5901 GB, free: 4.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.6212, allocations: 60.41 kB / 0.5902 GB, free: 4.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.6251, allocations: 2.267 MB / 0.5924 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.6253, allocations: 41.7 kB / 0.5925 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.6269, allocations: 2.039 MB / 0.5944 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.6274, allocations: 381.2 kB / 0.5948 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.6276, allocations: 68 kB / 0.5949 GB, free: 15.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.6279, allocations: 446.8 kB / 0.5953 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.6298, allocations: 0.8811 MB / 0.5962 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003689/0.6335, allocations: 2.95 MB / 0.599 GB, free: 10.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.636, allocations: 1.56 MB / 0.6006 GB, free: 8.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.6362, allocations: 20 kB / 0.6006 GB, free: 8.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006835/0.643, allocations: 3.734 MB / 0.6042 GB, free: 4.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/0.6431, allocations: 39.95 kB / 0.6043 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.6432, allocations: 72.88 kB / 0.6043 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.6434, allocations: 112 kB / 0.6044 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.6456, allocations: 0.7798 MB / 0.6052 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001266/0.6458, allocations: 143.4 kB / 0.6053 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.6479, allocations: 151.9 kB / 0.6055 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.6482, allocations: 204 kB / 0.6057 GB, free: 3.285 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 436 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00303/0.6512, allocations: 1.419 MB / 0.6071 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/0.6517, allocations: 201.4 kB / 0.6073 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.6542, allocations: 1.149 MB / 0.6084 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.6543, allocations: 12 kB / 0.6084 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6543, allocations: 0 / 0.6084 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6543, allocations: 3.984 kB / 0.6084 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6651, allocations: 5.146 MB / 0.6134 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-05/0.6652, allocations: 23.94 kB / 0.6134 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.666, allocations: 219.7 kB / 0.6137 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.807e-05/0.666, allocations: 24 kB / 0.6137 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.6661, allocations: 40 kB / 0.6137 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.144e-05/0.6661, allocations: 27.92 kB / 0.6137 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.6662, allocations: 29.3 kB / 0.6138 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.6687, allocations: 1.674 MB / 0.6154 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007654/0.6694, allocations: 298.2 kB / 0.6157 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/0.6699, allocations: 43.98 kB / 0.6157 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.6709, allocations: 35.98 kB / 0.6158 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.671, allocations: 124 kB / 0.6159 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.6711, allocations: 48 kB / 0.6159 GB, free: 8.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00306/0.6742, allocations: 1.462 MB / 0.6174 GB, free: 6.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6742, allocations: 0 / 0.6174 GB, free: 6.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003478/0.6777, allocations: 0.5664 MB / 0.6179 GB, free: 6.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * 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 (118): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002964/0.6807, allocations: 2.297 MB / 0.6202 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.6845, allocations: 2.109 MB / 0.6222 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.6846, allocations: 0 / 0.6222 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.6854, allocations: 0.5144 MB / 0.6227 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.6879, allocations: 334.8 kB / 0.623 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03798/0.7259, allocations: 18.18 MB / 0.6408 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/0.7303, allocations: 2.456 MB / 0.6432 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002873/0.7332, allocations: 0.91 MB / 0.6441 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.7352, allocations: 1.245 MB / 0.6453 GB, free: 7.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.873e-06/0.7352, allocations: 3.938 kB / 0.6453 GB, free: 7.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.8482, allocations: 43.54 MB / 0.6878 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.8484, allocations: 189.5 kB / 0.688 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.838, allocations: 0 / 0.688 GB, free: 12.2 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat