Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 97.94 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 194.9 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 45.93 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 11.98 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3549/0.491, allocations: 39.31 MB / 0.5087 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02502/0.5161, allocations: 9.138 MB / 0.5177 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/0.5268, allocations: 187.1 kB / 0.5178 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008631/0.5354, allocations: 2.022 MB / 0.5198 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02359/0.5591, allocations: 6.144 MB / 0.5258 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.5634, allocations: 0.8503 MB / 0.5266 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04356/0.607, allocations: 33.54 MB / 0.5594 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008676/0.6157, allocations: 4.104 MB / 0.5634 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.6201, allocations: 1.473 MB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.625, allocations: 2.341 MB / 0.5671 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.6265, allocations: 168 kB / 0.5673 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.6303, allocations: 1.087 MB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003377/0.6337, allocations: 1.946 MB / 0.5703 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.6361, allocations: 0.944 MB / 0.5712 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008683/0.6448, allocations: 6.3 MB / 0.5773 GB, free: 5.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6449, allocations: 0 / 0.5773 GB, free: 5.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6449, allocations: 0 / 0.5773 GB, free: 5.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003358/0.6452, allocations: 0 / 0.5773 GB, free: 5.48 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.01425/0.6595, allocations: 4.989 MB / 0.5822 GB, free: 484 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.6596, allocations: 15.97 kB / 0.5822 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003515/0.6631, allocations: 0.7959 MB / 0.583 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06843/0.7315, allocations: 7.417 MB / 0.5902 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7425, allocations: 3.475 MB / 0.5936 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/0.743, allocations: 264.9 kB / 0.5939 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.7454, allocations: 339.1 kB / 0.5942 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.7733, allocations: 12.28 MB / 0.6062 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.7735, allocations: 63.42 kB / 0.6063 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004998/0.774, allocations: 167.9 kB / 0.6064 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003694/0.7777, allocations: 2.379 MB / 0.6087 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.8005, allocations: 10.68 MB / 0.6192 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06663/0.8672, allocations: 48.74 MB / 0.6668 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.8816, allocations: 5.871 MB / 0.6725 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.8858, allocations: 3.105 MB / 0.6755 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02036/0.9062, allocations: 13.01 MB / 0.6882 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.9064, allocations: 61.39 kB / 0.6883 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 6.262e-06/0.9064, allocations: 0 / 0.6883 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.4497/1.356, allocations: 38.86 MB / 0.7262 GB, free: 178 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/1.356, allocations: 208 kB / 0.7264 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006717/1.363, allocations: 4.37 MB / 0.7307 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007442/1.364, allocations: 62.25 kB / 0.7308 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.366, allocations: 3.431 MB / 0.7341 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.367, allocations: 0.9446 MB / 0.735 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/1.368, allocations: 135.2 kB / 0.7352 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000285/1.368, allocations: 0.5889 MB / 0.7357 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.372, allocations: 3.095 MB / 0.7388 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/1.378, allocations: 7.014 MB / 0.7456 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006172/1.384, allocations: 4.534 MB / 0.75 GB, free: 161 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/1.384, allocations: 40 kB / 0.7501 GB, free: 161 MB / 0.5294 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02519/1.409, allocations: 12.62 MB / 0.7624 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/1.41, allocations: 66.97 kB / 0.7625 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/1.41, allocations: 136 kB / 0.7626 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008225/1.418, allocations: 3.264 MB / 0.7658 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005204/1.423, allocations: 1.544 MB / 0.7673 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.444, allocations: 15.51 MB / 0.7824 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/1.45, allocations: 431.3 kB / 0.7828 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.452, allocations: 411.7 kB / 0.7832 GB, free: 126.9 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.008251/1.46, allocations: 2.339 MB / 0.7855 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/1.462, allocations: 414.1 kB / 0.7859 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.476, allocations: 7.505 MB / 0.7932 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/1.476, allocations: 28 kB / 0.7933 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/1.476, allocations: 8 kB / 0.7933 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/1.476, allocations: 11.95 kB / 0.7933 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0275/1.504, allocations: 15.2 MB / 0.8081 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.504, allocations: 4 kB / 0.8081 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.506, allocations: 375.5 kB / 0.8085 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007228/1.513, allocations: 2.93 MB / 0.8114 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.513, allocations: 47.94 kB / 0.8114 GB, free: 98.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/1.531, allocations: 13.73 MB / 0.8248 GB, free: 84.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.532, allocations: 3.938 kB / 0.8248 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.55, allocations: 11.45 MB / 0.836 GB, free: 72.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.552, allocations: 447.7 kB / 0.8364 GB, free: 72.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.553, allocations: 40 kB / 0.8365 GB, free: 72.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.556, allocations: 191.7 kB / 0.8367 GB, free: 71.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/1.556, allocations: 155.2 kB / 0.8368 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.557, allocations: 56 kB / 0.8369 GB, free: 71.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005446/1.562, allocations: 2.727 MB / 0.8395 GB, free: 69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/1.562, allocations: 4 kB / 0.8395 GB, free: 69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008079/1.57, allocations: 1.319 MB / 0.8408 GB, free: 67.68 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.0184/1.589, allocations: 12.12 MB / 0.8526 GB, free: 55.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.601, allocations: 7.789 MB / 0.8603 GB, free: 47.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.601, allocations: 0 / 0.8603 GB, free: 47.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/1.607, allocations: 3.116 MB / 0.8633 GB, free: 44.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/1.614, allocations: 0.4891 MB / 0.8638 GB, free: 44.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3607/1.974, allocations: 45.8 MB / 0.9085 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006455/1.981, allocations: 3.664 MB / 0.9121 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006681/1.987, allocations: 2.178 MB / 0.9142 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/1.991, allocations: 2.219 MB / 0.9164 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.205e-06/1.991, allocations: 0 / 0.9164 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/2.14, allocations: 101.6 MB / 1.016 GB, free: 81.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/2.14, allocations: 192.2 kB / 1.016 GB, free: 81.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.689/6.83, allocations: 0 / 1.016 GB, free: 81.59 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat