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.001449/0.001449, allocations: 117.7 kB / 17.78 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.0014/0.0014, allocations: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3978, allocations: 62.44 MB / 0.5305 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01286/0.4107, allocations: 9.572 MB / 0.5399 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.4192, allocations: 3.215 MB / 0.543 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.4214, allocations: 51.31 kB / 0.5431 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005895/0.4273, allocations: 2.641 MB / 0.5456 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.4297, allocations: 0.5975 MB / 0.5462 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.4315, allocations: 0.5189 MB / 0.5467 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.4343, allocations: 1.474 MB / 0.5482 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.4389, allocations: 3.224 MB / 0.5513 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.4408, allocations: 0.9542 MB / 0.5522 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.4432, allocations: 1.27 MB / 0.5535 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008098/0.4441, allocations: 272 kB / 0.5537 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.4461, allocations: 0.8075 MB / 0.5545 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.4479, allocations: 1.158 MB / 0.5557 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00275/0.4507, allocations: 1.352 MB / 0.557 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.4566, allocations: 4.416 MB / 0.5613 GB, free: 2.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4567, allocations: 0 / 0.5613 GB, free: 2.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4567, allocations: 0 / 0.5613 GB, free: 2.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001676/0.4568, allocations: 0 / 0.5613 GB, free: 2.273 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.00892/0.4658, allocations: 2.777 MB / 0.564 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/0.4659, allocations: 8.031 kB / 0.564 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001398/0.4673, allocations: 430.8 kB / 0.5644 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.469, allocations: 357.1 kB / 0.5648 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.4723, allocations: 1.243 MB / 0.566 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.4725, allocations: 164.4 kB / 0.5661 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006674/0.4731, allocations: 223.9 kB / 0.5664 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.4862, allocations: 5.608 MB / 0.5718 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.4864, allocations: 15.94 kB / 0.5718 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006939/0.4871, allocations: 99.88 kB / 0.5719 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/0.4884, allocations: 0.7773 MB / 0.5727 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.5002, allocations: 4.291 MB / 0.5769 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.5261, allocations: 17.04 MB / 0.5935 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.5305, allocations: 1.262 MB / 0.5948 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.5313, allocations: 390.3 kB / 0.5951 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.5334, allocations: 2.137 MB / 0.5972 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.5335, allocations: 43.06 kB / 0.5973 GB, free: 12.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 3.267e-06/0.5335, allocations: 4 kB / 0.5973 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.0221/0.5556, allocations: 5.369 MB / 0.6025 GB, free: 6.812 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.5557, allocations: 64.39 kB / 0.6026 GB, free: 6.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.5588, allocations: 1.717 MB / 0.6042 GB, free: 5.012 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.5591, allocations: 49.7 kB / 0.6043 GB, free: 4.957 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.5603, allocations: 1.497 MB / 0.6058 GB, free: 3.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.5609, allocations: 402.6 kB / 0.6061 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008815/0.5618, allocations: 0.5243 MB / 0.6067 GB, free: 2.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5619, allocations: 301.1 kB / 0.6069 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5633, allocations: 0.7781 MB / 0.6077 GB, free: 1.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.5659, allocations: 2.227 MB / 0.6099 GB, free: 14.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.5703, allocations: 3.275 MB / 0.6131 GB, free: 10.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.972e-05/0.5704, allocations: 16 kB / 0.6131 GB, free: 10.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005751/0.5762, allocations: 3.012 MB / 0.616 GB, free: 7.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.5763, allocations: 24 kB / 0.6161 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/0.5764, allocations: 52 kB / 0.6161 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.5765, allocations: 68 kB / 0.6162 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.5786, allocations: 0.6005 MB / 0.6168 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/0.5788, allocations: 99.59 kB / 0.6169 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.5807, allocations: 119.9 kB / 0.617 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.5811, allocations: 152 kB / 0.6171 GB, free: 6.367 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.002315/0.5834, allocations: 1.121 MB / 0.6182 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.5838, allocations: 165.9 kB / 0.6184 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.5844, allocations: 204.8 kB / 0.6186 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5845, allocations: 12 kB / 0.6186 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.5845, allocations: 4 kB / 0.6186 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.5845, allocations: 3.984 kB / 0.6186 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5952, allocations: 6.069 MB / 0.6245 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.5952, allocations: 20.91 kB / 0.6245 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.596, allocations: 207.6 kB / 0.6247 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.052e-05/0.5961, allocations: 32 kB / 0.6248 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/0.5961, allocations: 40 kB / 0.6248 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-05/0.5962, allocations: 43.8 kB / 0.6248 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.5962, allocations: 27.88 kB / 0.6249 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.5984, allocations: 1.68 MB / 0.6265 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.599, allocations: 258.9 kB / 0.6267 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.5994, allocations: 51.92 kB / 0.6268 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.6004, allocations: 36 kB / 0.6268 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.6006, allocations: 143.4 kB / 0.627 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.6007, allocations: 52 kB / 0.627 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.6027, allocations: 1.135 MB / 0.6281 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6027, allocations: 0 / 0.6281 GB, free: 10.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002556/0.6053, allocations: 460.6 kB / 0.6286 GB, free: 9.957 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.002997/0.6083, allocations: 2.309 MB / 0.6308 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.6117, allocations: 1.82 MB / 0.6326 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/0.6118, allocations: 8.188 kB / 0.6326 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.6127, allocations: 498.8 kB / 0.6331 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.6149, allocations: 290.3 kB / 0.6334 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/0.6507, allocations: 19.68 MB / 0.6526 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/0.6545, allocations: 2.081 MB / 0.6546 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0022/0.6568, allocations: 0.6712 MB / 0.6553 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/0.6587, allocations: 0.9484 MB / 0.6562 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.6587, allocations: 3.938 kB / 0.6562 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06898/0.7277, allocations: 35.29 MB / 0.6907 GB, free: 7.766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.07, allocations: 3.859 kB / 0.6907 GB, free: 7.762 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