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.001292/0.001292, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.373, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01106/0.3841, allocations: 9.579 MB / 0.5399 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.3913, allocations: 3.216 MB / 0.543 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.3933, allocations: 50.62 kB / 0.5431 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.3985, allocations: 2.637 MB / 0.5456 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.4007, allocations: 0.6007 MB / 0.5462 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.4023, allocations: 0.5229 MB / 0.5467 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.4046, allocations: 1.468 MB / 0.5482 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.4082, allocations: 3.232 MB / 0.5513 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.4097, allocations: 0.9504 MB / 0.5522 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.4114, allocations: 1.27 MB / 0.5535 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.4119, allocations: 271.9 kB / 0.5537 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.4134, allocations: 0.7998 MB / 0.5545 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.4145, allocations: 1.169 MB / 0.5557 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.416, allocations: 1.345 MB / 0.557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.4208, allocations: 4.431 MB / 0.5613 GB, free: 2.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4209, allocations: 3.984 kB / 0.5613 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4209, allocations: 0 / 0.5613 GB, free: 2.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.421, allocations: 0 / 0.5613 GB, free: 2.02 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.005394/0.4264, allocations: 2.765 MB / 0.564 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4265, allocations: 12.03 kB / 0.564 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005581/0.427, allocations: 430.8 kB / 0.5644 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.4282, allocations: 353.1 kB / 0.5648 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.4306, allocations: 1.243 MB / 0.566 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.4308, allocations: 168.4 kB / 0.5661 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.4312, allocations: 215.9 kB / 0.5664 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.4417, allocations: 5.616 MB / 0.5718 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-05/0.4418, allocations: 15.88 kB / 0.5719 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.442, allocations: 99.92 kB / 0.5719 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009822/0.443, allocations: 0.7773 MB / 0.5727 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00951/0.4525, allocations: 4.291 MB / 0.5769 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.475, allocations: 17.05 MB / 0.5935 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.4795, allocations: 1.254 MB / 0.5948 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.4803, allocations: 394.3 kB / 0.5951 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/0.4824, allocations: 2.141 MB / 0.5972 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4825, allocations: 43.06 kB / 0.5973 GB, free: 11.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 3.166e-06/0.4825, allocations: 4 kB / 0.5973 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.02146/0.504, allocations: 5.357 MB / 0.6025 GB, free: 6.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5041, allocations: 64.41 kB / 0.6026 GB, free: 6.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.5064, allocations: 1.717 MB / 0.6043 GB, free: 4.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.5065, allocations: 49.7 kB / 0.6043 GB, free: 4.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.5076, allocations: 1.505 MB / 0.6058 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.5079, allocations: 398.6 kB / 0.6061 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006322/0.5086, allocations: 0.5244 MB / 0.6067 GB, free: 2.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5087, allocations: 301.1 kB / 0.6069 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.5099, allocations: 0.7743 MB / 0.6077 GB, free: 1.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.512, allocations: 2.227 MB / 0.6099 GB, free: 14.24 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/0.5157, allocations: 3.279 MB / 0.6131 GB, free: 10.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.121e-05/0.5157, allocations: 15.94 kB / 0.6131 GB, free: 10.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00465/0.5204, allocations: 3.001 MB / 0.616 GB, free: 7.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.5205, allocations: 36.02 kB / 0.6161 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.652e-05/0.5205, allocations: 52 kB / 0.6161 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.678e-05/0.5206, allocations: 68 kB / 0.6162 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.5224, allocations: 0.5927 MB / 0.6168 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.514e-05/0.5225, allocations: 103.6 kB / 0.6169 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.524, allocations: 115.9 kB / 0.617 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.5242, allocations: 148 kB / 0.6171 GB, free: 6.121 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001543/0.5257, allocations: 1.125 MB / 0.6182 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.526, allocations: 161.9 kB / 0.6184 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.5263, allocations: 208.8 kB / 0.6186 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5263, allocations: 11.94 kB / 0.6186 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.5264, allocations: 0 / 0.6186 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.5264, allocations: 19.91 kB / 0.6186 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008243/0.5346, allocations: 6.059 MB / 0.6245 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/0.5347, allocations: 20 kB / 0.6245 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.5354, allocations: 208.5 kB / 0.6247 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/0.5354, allocations: 28 kB / 0.6247 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.5355, allocations: 48 kB / 0.6248 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.833e-05/0.5355, allocations: 39.8 kB / 0.6248 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-05/0.5356, allocations: 31.88 kB / 0.6249 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5376, allocations: 1.68 MB / 0.6265 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.5381, allocations: 258.9 kB / 0.6267 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5383, allocations: 51.92 kB / 0.6268 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.539, allocations: 39.98 kB / 0.6268 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5391, allocations: 135.4 kB / 0.627 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.5392, allocations: 56 kB / 0.627 GB, free: 11.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.5407, allocations: 1.139 MB / 0.6281 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5408, allocations: 0 / 0.6281 GB, free: 10.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002149/0.5429, allocations: 456.6 kB / 0.6286 GB, free: 9.699 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/0.5455, allocations: 2.313 MB / 0.6308 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.5487, allocations: 1.819 MB / 0.6326 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/0.5487, allocations: 4.5 kB / 0.6326 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.5495, allocations: 499 kB / 0.6331 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.5515, allocations: 293.9 kB / 0.6334 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/0.5821, allocations: 19.68 MB / 0.6526 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.5849, allocations: 2.085 MB / 0.6546 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001825/0.5867, allocations: 0.6673 MB / 0.6553 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.5881, allocations: 0.9523 MB / 0.6562 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of SimCode: time 9.01e-07/0.5882, allocations: 0 / 0.6562 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0747/0.6629, allocations: 35.3 MB / 0.6907 GB, free: 7.504 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.06, allocations: 2.812 kB / 0.6907 GB, free: 7.504 MB / 0.545 GB (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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches