Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 96.34 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, 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.217/0.217, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002578, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.02896/0.1579, allocations: 30.82 MB / 0.5004 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3423/0.5002, allocations: 6.916 MB / 0.5072 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008462/0.5087, allocations: 137.9 kB / 0.5073 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006077/0.5149, allocations: 1.438 MB / 0.5087 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.5295, allocations: 4.026 MB / 0.5127 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.5326, allocations: 406 kB / 0.513 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.5368, allocations: 1.985 MB / 0.515 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007527/0.5444, allocations: 4.005 MB / 0.5189 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.5466, allocations: 0.6281 MB / 0.5195 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.5492, allocations: 0.991 MB / 0.5205 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007915/0.55, allocations: 87.94 kB / 0.5206 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.5522, allocations: 0.5311 MB / 0.5211 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.5543, allocations: 0.9155 MB / 0.522 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.5558, allocations: 496.8 kB / 0.5225 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004923/0.5608, allocations: 3.524 MB / 0.5259 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.5608, allocations: 1.281 kB / 0.5259 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5608, allocations: 1.75 kB / 0.5259 GB, free: 7.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.561, allocations: 0 / 0.5259 GB, free: 7.242 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.005716/0.5667, allocations: 2.323 MB / 0.5282 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5667, allocations: 8.031 kB / 0.5282 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009005/0.5677, allocations: 420.9 kB / 0.5286 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5689, allocations: 357.2 kB / 0.5289 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.5711, allocations: 1.2 MB / 0.5301 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5712, allocations: 165.3 kB / 0.5302 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.5716, allocations: 221.5 kB / 0.5305 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.5837, allocations: 5.615 MB / 0.5359 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.911e-05/0.5838, allocations: 13.66 kB / 0.536 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.584, allocations: 101 kB / 0.536 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001325/0.5854, allocations: 0.7802 MB / 0.5368 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.5964, allocations: 4.296 MB / 0.541 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.6212, allocations: 17.14 MB / 0.5577 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.6253, allocations: 1.252 MB / 0.559 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/0.6259, allocations: 394.3 kB / 0.5593 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.6278, allocations: 2.138 MB / 0.5614 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.6279, allocations: 39.12 kB / 0.5615 GB, free: 340 kB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.186e-06/0.6279, allocations: 0 / 0.5615 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02018/0.6481, allocations: 5.431 MB / 0.5668 GB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.6482, allocations: 60.41 kB / 0.5668 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.6509, allocations: 1.714 MB / 0.5685 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.651, allocations: 45.7 kB / 0.5685 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.652, allocations: 1.511 MB / 0.57 GB, free: 7.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.6524, allocations: 403.6 kB / 0.5704 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.6525, allocations: 48 kB / 0.5704 GB, free: 7.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.6527, allocations: 427.3 kB / 0.5709 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.654, allocations: 0.7704 MB / 0.5716 GB, free: 5.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.6562, allocations: 2.21 MB / 0.5738 GB, free: 3.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.658, allocations: 1.271 MB / 0.575 GB, free: 1.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.6581, allocations: 12 kB / 0.575 GB, free: 1.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004831/0.6629, allocations: 2.973 MB / 0.5779 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.663, allocations: 32.03 kB / 0.578 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/0.663, allocations: 63.91 kB / 0.578 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.284e-05/0.6631, allocations: 76 kB / 0.5781 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.6649, allocations: 0.5966 MB / 0.5787 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.325e-05/0.665, allocations: 103.6 kB / 0.5788 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6666, allocations: 107.9 kB / 0.5789 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.6668, allocations: 156 kB / 0.579 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (340): * Single equations (assignments): 340 * 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.002069/0.6689, allocations: 1.134 MB / 0.5801 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.6692, allocations: 157.9 kB / 0.5803 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.6697, allocations: 208.9 kB / 0.5805 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.6697, allocations: 8 kB / 0.5805 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6698, allocations: 0 / 0.5805 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6698, allocations: 15.97 kB / 0.5805 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/0.6795, allocations: 6.061 MB / 0.5864 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.6796, allocations: 20 kB / 0.5864 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.6802, allocations: 211.7 kB / 0.5866 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.952e-05/0.6803, allocations: 32 kB / 0.5867 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.6804, allocations: 40 kB / 0.5867 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-05/0.6804, allocations: 43.86 kB / 0.5868 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.6804, allocations: 27.88 kB / 0.5868 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.6826, allocations: 1.673 MB / 0.5884 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.6831, allocations: 266.9 kB / 0.5887 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.6833, allocations: 45.62 kB / 0.5887 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.6839, allocations: 47.92 kB / 0.5888 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6841, allocations: 131.5 kB / 0.5889 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.6842, allocations: 56 kB / 0.5889 GB, free: 2.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.686, allocations: 1.135 MB / 0.59 GB, free: 1.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.686, allocations: 0 / 0.59 GB, free: 1.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002637/0.6886, allocations: 464.6 kB / 0.5905 GB, free: 1.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.002593/0.6912, allocations: 2.277 MB / 0.5927 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.6945, allocations: 1.758 MB / 0.5944 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.6945, allocations: 4 kB / 0.5944 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.6953, allocations: 498.8 kB / 0.5949 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.697, allocations: 273.7 kB / 0.5952 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.7236, allocations: 14.57 MB / 0.6094 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.7261, allocations: 2.081 MB / 0.6114 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001927/0.728, allocations: 0.6712 MB / 0.6121 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.7293, allocations: 0.9523 MB / 0.613 GB, free: 8.238 MB / 462.1 MB Notification: Performance of SimCode: time 2.385e-06/0.7293, allocations: 0 / 0.613 GB, free: 8.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/0.7985, allocations: 35.18 MB / 0.6474 GB, free: 5.273 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003996/0.799, allocations: 181.7 kB / 0.6475 GB, free: 5.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/3.881, allocations: 4.062 kB / 0.6476 GB, free: 5.027 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat