Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 79.69 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08559, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.009402/0.09502, allocations: 9.566 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.1005, allocations: 3.443 MB / 493.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007956/0.1014, allocations: 51.88 kB / 493.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.1054, allocations: 2.594 MB / 495.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1065, allocations: 0.5946 MB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1078, allocations: 0.7172 MB / 497.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.1092, allocations: 1.554 MB / 498.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.112, allocations: 3.294 MB / 0.4902 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.113, allocations: 0.9973 MB / 0.4912 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1143, allocations: 1.305 MB / 0.4924 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.1146, allocations: 280 kB / 0.4927 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1161, allocations: 1.01 MB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008787/0.117, allocations: 1.161 MB / 0.4948 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.1181, allocations: 1.36 MB / 0.4961 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.1216, allocations: 4.565 MB / 0.5006 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1216, allocations: 4 kB / 0.5006 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1216, allocations: 0 / 0.5006 GB, free: 4.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.678e-05/0.1217, allocations: 0 / 0.5006 GB, free: 4.562 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.004982/0.1267, allocations: 2.921 MB / 0.5035 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1267, allocations: 12.03 kB / 0.5035 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004402/0.1272, allocations: 423.1 kB / 0.5039 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.1282, allocations: 361.1 kB / 0.5042 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1584/0.2867, allocations: 1.291 MB / 0.5055 GB, free: 39.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2868, allocations: 160.6 kB / 0.5056 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/0.2872, allocations: 218.4 kB / 0.5058 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.2983, allocations: 6.484 MB / 0.5122 GB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/0.2983, allocations: 14.73 kB / 0.5122 GB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.2985, allocations: 95.39 kB / 0.5123 GB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008973/0.2994, allocations: 0.8042 MB / 0.5131 GB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.31, allocations: 5.492 MB / 0.5184 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.3239, allocations: 19.07 MB / 0.537 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/0.3298, allocations: 1.816 MB / 0.5388 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/0.3304, allocations: 0.6939 MB / 0.5395 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/0.3342, allocations: 4.786 MB / 0.5442 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.3342, allocations: 43.06 kB / 0.5442 GB, free: 12.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.3342, allocations: 4 kB / 0.5442 GB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03284/0.3671, allocations: 8.721 MB / 0.5527 GB, free: 4.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.3671, allocations: 64.41 kB / 0.5528 GB, free: 4.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.3686, allocations: 1.834 MB / 0.5546 GB, free: 2.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.3687, allocations: 41.7 kB / 0.5546 GB, free: 2.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/0.3692, allocations: 1.52 MB / 0.5561 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3693, allocations: 410.5 kB / 0.5565 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.3699, allocations: 0.5442 MB / 0.557 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.37, allocations: 301.1 kB / 0.5573 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3714, allocations: 1.028 MB / 0.5583 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.3737, allocations: 2.53 MB / 0.5608 GB, free: 11.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.3776, allocations: 3.815 MB / 0.5645 GB, free: 6.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.3776, allocations: 15.56 kB / 0.5645 GB, free: 6.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004698/0.3823, allocations: 3.543 MB / 0.568 GB, free: 3.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.3823, allocations: 28 kB / 0.568 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.726e-05/0.3824, allocations: 55.94 kB / 0.5681 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.869e-05/0.3825, allocations: 72 kB / 0.5681 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.3844, allocations: 0.6629 MB / 0.5688 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.914e-05/0.3845, allocations: 108.1 kB / 0.5689 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3859, allocations: 163.7 kB / 0.5691 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.3861, allocations: 148 kB / 0.5692 GB, free: 1.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (352): * Single equations (assignments): 352 * 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.001297/0.3874, allocations: 1.125 MB / 0.5703 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.3876, allocations: 173.8 kB / 0.5705 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.3902, allocations: 1.761 MB / 0.5722 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.3902, allocations: 15.94 kB / 0.5722 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3902, allocations: 0 / 0.5722 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3902, allocations: 8.016 kB / 0.5722 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/0.3973, allocations: 5.433 MB / 0.5775 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.3973, allocations: 12 kB / 0.5775 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.3981, allocations: 208.5 kB / 0.5777 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.3981, allocations: 19.94 kB / 0.5777 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.3982, allocations: 39.98 kB / 0.5778 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.082e-05/0.3982, allocations: 19.94 kB / 0.5778 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.3982, allocations: 15.94 kB / 0.5778 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.4, allocations: 1.678 MB / 0.5794 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4002, allocations: 258.8 kB / 0.5797 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.4004, allocations: 36 kB / 0.5797 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.401, allocations: 43.97 kB / 0.5798 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4012, allocations: 104.2 kB / 0.5799 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.4012, allocations: 43.94 kB / 0.5799 GB, free: 6.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.4025, allocations: 1.207 MB / 0.5811 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4025, allocations: 0 / 0.5811 GB, free: 5.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001587/0.4041, allocations: 0.4908 MB / 0.5816 GB, free: 4.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.002189/0.4063, allocations: 2.308 MB / 0.5838 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003112/0.4094, allocations: 2.466 MB / 0.5862 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4094, allocations: 0 / 0.5862 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.4102, allocations: 0.603 MB / 0.5868 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4113, allocations: 261.3 kB / 0.5871 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/0.4344, allocations: 22.73 MB / 0.6093 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/0.4361, allocations: 2.067 MB / 0.6113 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.4379, allocations: 0.7336 MB / 0.612 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.439, allocations: 0.964 MB / 0.6129 GB, free: 1.469 MB / 446.1 MB Notification: Performance of SimCode: time 5.1e-07/0.439, allocations: 0 / 0.6129 GB, free: 1.469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.385/2.824, allocations: 38.38 MB / 0.6504 GB, free: 11.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/13.71, allocations: 4.062 kB / 0.6504 GB, free: 11.26 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches