Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000888/0.0008877, allocations: 101.6 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000925/0.0009252, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002613, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02293/0.1564, allocations: 23.17 MB / 0.493 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.17, allocations: 5.992 MB / 0.4988 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/0.1742, allocations: 103.8 kB / 0.4989 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.1773, allocations: 1.097 MB / 0.5 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009144/0.1865, allocations: 3.498 MB / 0.5034 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.188, allocations: 463.2 kB / 0.5038 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2671/0.4552, allocations: 4.26 MB / 0.508 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004532/0.4597, allocations: 2.136 MB / 0.5101 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.462, allocations: 1.007 MB / 0.5111 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.4657, allocations: 1.665 MB / 0.5127 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008615/0.4666, allocations: 124.2 kB / 0.5128 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.4703, allocations: 1.051 MB / 0.5138 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.4731, allocations: 1.479 MB / 0.5153 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.4745, allocations: 0.7314 MB / 0.516 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.4817, allocations: 4.713 MB / 0.5206 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4817, allocations: 1.75 kB / 0.5206 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4817, allocations: 0 / 0.5206 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.4819, allocations: 0 / 0.5206 GB, free: 10.91 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.00974/0.4917, allocations: 3.452 MB / 0.524 GB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4918, allocations: 9.406 kB / 0.524 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002752/0.4945, allocations: 0.688 MB / 0.5247 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/0.514, allocations: 6.277 MB / 0.5308 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007099/0.5212, allocations: 2.572 MB / 0.5333 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.5214, allocations: 181.3 kB / 0.5335 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.5227, allocations: 309 kB / 0.5338 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.5412, allocations: 10.71 MB / 0.5442 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.278e-05/0.5414, allocations: 34.42 kB / 0.5443 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/0.5417, allocations: 115.9 kB / 0.5444 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/0.5454, allocations: 2.453 MB / 0.5468 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.5666, allocations: 10.14 MB / 0.5567 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07936/0.646, allocations: 35.66 MB / 0.5915 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.6639, allocations: 5.598 MB / 0.597 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005144/0.6691, allocations: 2.328 MB / 0.5992 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/0.6716, allocations: 1.875 MB / 0.6011 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.6717, allocations: 52.55 kB / 0.6011 GB, free: 9.102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 8.596e-06/0.6717, allocations: 0 / 0.6011 GB, free: 9.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.04185/0.7136, allocations: 14.94 MB / 0.6157 GB, free: 10.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001608/0.7152, allocations: 1.519 MB / 0.6172 GB, free: 8.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.7198, allocations: 2.799 MB / 0.6199 GB, free: 5.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007108/0.7205, allocations: 52.36 kB / 0.62 GB, free: 5.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.7229, allocations: 2.675 MB / 0.6226 GB, free: 2.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.7244, allocations: 0.8479 MB / 0.6234 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.7247, allocations: 110.7 kB / 0.6235 GB, free: 1.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004718/0.7252, allocations: 0.5431 MB / 0.624 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004584/0.7298, allocations: 2.607 MB / 0.6266 GB, free: 14.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006592/0.7364, allocations: 5.612 MB / 0.6321 GB, free: 7.684 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.7425, allocations: 3.8 MB / 0.6358 GB, free: 3.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.368e-05/0.7426, allocations: 32 kB / 0.6358 GB, free: 3.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.0553/0.7979, allocations: 17.08 MB / 0.6525 GB, free: 2.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.798, allocations: 48 kB / 0.6525 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03858/0.8366, allocations: 10.62 MB / 0.6629 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04057/0.8772, allocations: 8.655 MB / 0.6714 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005151/0.8824, allocations: 1.302 MB / 0.6726 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/0.91, allocations: 15.61 MB / 0.6879 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/0.9155, allocations: 423.5 kB / 0.6883 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/0.9171, allocations: 318.6 kB / 0.6886 GB, free: 13.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005531/0.9226, allocations: 2.03 MB / 0.6906 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006688/0.9233, allocations: 272.4 kB / 0.6908 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009906/0.9332, allocations: 5.109 MB / 0.6958 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007889/0.9411, allocations: 4.38 MB / 0.7001 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.9412, allocations: 4 kB / 0.7001 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.9412, allocations: 7.969 kB / 0.7001 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/0.9649, allocations: 12.91 MB / 0.7127 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.965, allocations: 8.156 kB / 0.7127 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/0.967, allocations: 467.2 kB / 0.7132 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.9699, allocations: 0.9347 MB / 0.7141 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003106/0.9702, allocations: 47.97 kB / 0.7141 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3233/1.293, allocations: 5.454 MB / 0.7195 GB, free: 194.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009251/1.294, allocations: 1.467 MB / 0.7209 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.309, allocations: 7.718 MB / 0.7284 GB, free: 191.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.31, allocations: 332.4 kB / 0.7287 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/1.311, allocations: 45.75 kB / 0.7288 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.312, allocations: 194.2 kB / 0.729 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.313, allocations: 147.1 kB / 0.7291 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.313, allocations: 73.7 kB / 0.7292 GB, free: 191.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003397/1.316, allocations: 1.699 MB / 0.7308 GB, free: 191.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.316, allocations: 0 / 0.7308 GB, free: 191.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006635/1.323, allocations: 1.103 MB / 0.7319 GB, free: 191 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/1.335, allocations: 8.364 MB / 0.7401 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.346, allocations: 6.488 MB / 0.7464 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.346, allocations: 0 / 0.7464 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.35, allocations: 2.527 MB / 0.7489 GB, free: 184.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.353, allocations: 364.4 kB / 0.7492 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09179/1.445, allocations: 38.33 MB / 0.7867 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005344/1.45, allocations: 3.158 MB / 0.7898 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004437/1.455, allocations: 2.06 MB / 0.7918 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/1.457, allocations: 1.675 MB / 0.7934 GB, free: 139.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.243e-06/1.457, allocations: 0 / 0.7934 GB, free: 139.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.561, allocations: 79.28 MB / 0.8708 GB, free: 60.52 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.561, allocations: 206.6 kB / 0.871 GB, free: 60.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/5.115, allocations: 7.938 kB / 0.871 GB, free: 60.27 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat