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.001382/0.001382, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 87.84 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3039, allocations: 62.43 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01172/0.3157, allocations: 9.582 MB / 0.54 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006936/0.3227, allocations: 3.433 MB / 0.5433 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.324, allocations: 47.28 kB / 0.5434 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004925/0.329, allocations: 2.6 MB / 0.5459 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.3308, allocations: 0.587 MB / 0.5465 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.3327, allocations: 0.7217 MB / 0.5472 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.3353, allocations: 1.562 MB / 0.5487 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/0.3392, allocations: 3.286 MB / 0.5519 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.3408, allocations: 0.9933 MB / 0.5529 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.3426, allocations: 1.301 MB / 0.5542 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.3432, allocations: 280 kB / 0.5544 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3453, allocations: 1.018 MB / 0.5554 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.3465, allocations: 1.157 MB / 0.5566 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.348, allocations: 1.368 MB / 0.5579 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005756/0.3538, allocations: 4.679 MB / 0.5625 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3538, allocations: 0 / 0.5625 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3539, allocations: 0 / 0.5625 GB, free: 0.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.772e-05/0.3539, allocations: 4 kB / 0.5625 GB, free: 0.9531 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006461/0.3604, allocations: 2.987 MB / 0.5654 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3605, allocations: 12.03 kB / 0.5654 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005521/0.361, allocations: 423.1 kB / 0.5658 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3623, allocations: 378.8 kB / 0.5662 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.3647, allocations: 1.31 MB / 0.5674 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.3648, allocations: 168.2 kB / 0.5676 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/0.3652, allocations: 219.9 kB / 0.5678 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.3787, allocations: 6.48 MB / 0.5741 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.3788, allocations: 11.88 kB / 0.5742 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.3791, allocations: 95.94 kB / 0.5742 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/0.3802, allocations: 0.8124 MB / 0.575 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.3932, allocations: 5.477 MB / 0.5804 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.4181, allocations: 19 MB / 0.5989 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00762/0.4257, allocations: 1.832 MB / 0.6007 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.4269, allocations: 0.6861 MB / 0.6014 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006495/0.4334, allocations: 4.798 MB / 0.6061 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4334, allocations: 43.12 kB / 0.6061 GB, free: 2.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/0.4335, allocations: 0 / 0.6061 GB, free: 2.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04146/0.4749, allocations: 8.77 MB / 0.6147 GB, free: 10.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.475, allocations: 72.34 kB / 0.6148 GB, free: 10.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.4776, allocations: 1.838 MB / 0.6166 GB, free: 8.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.4778, allocations: 41.7 kB / 0.6166 GB, free: 8.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.479, allocations: 1.578 MB / 0.6181 GB, free: 6.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.4794, allocations: 428.6 kB / 0.6185 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007958/0.4802, allocations: 0.5523 MB / 0.6191 GB, free: 5.555 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4804, allocations: 301.1 kB / 0.6194 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.4821, allocations: 1.024 MB / 0.6204 GB, free: 4.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/0.485, allocations: 2.529 MB / 0.6228 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/0.49, allocations: 3.811 MB / 0.6266 GB, free: 12.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.49, allocations: 16 kB / 0.6266 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005878/0.4959, allocations: 3.56 MB / 0.6301 GB, free: 8.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.496, allocations: 28 kB / 0.6301 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.693e-05/0.4961, allocations: 52 kB / 0.6301 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.64e-05/0.4961, allocations: 72 kB / 0.6302 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.4984, allocations: 0.6672 MB / 0.6308 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.4985, allocations: 107.6 kB / 0.631 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.5002, allocations: 155.9 kB / 0.6311 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.5005, allocations: 152 kB / 0.6312 GB, free: 7.605 MB / 494.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.001695/0.5022, allocations: 1.133 MB / 0.6324 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.5025, allocations: 178.8 kB / 0.6325 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.5057, allocations: 1.761 MB / 0.6342 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5057, allocations: 12 kB / 0.6343 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5057, allocations: 3.938 kB / 0.6343 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5057, allocations: 3.984 kB / 0.6343 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/0.5152, allocations: 5.424 MB / 0.6396 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.5152, allocations: 12 kB / 0.6396 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.5161, allocations: 211.6 kB / 0.6398 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.5162, allocations: 16 kB / 0.6398 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.5162, allocations: 31.98 kB / 0.6398 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.5163, allocations: 23.88 kB / 0.6398 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/0.5163, allocations: 24.28 kB / 0.6399 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.5187, allocations: 1.695 MB / 0.6415 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.5191, allocations: 263.8 kB / 0.6418 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.5193, allocations: 36 kB / 0.6418 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.52, allocations: 47.89 kB / 0.6418 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5202, allocations: 112.1 kB / 0.642 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.5203, allocations: 36 kB / 0.642 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001871/0.5222, allocations: 1.203 MB / 0.6432 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5222, allocations: 0 / 0.6432 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002218/0.5244, allocations: 499.9 kB / 0.6436 GB, free: 10.47 MB / 0.4981 GB 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.002899/0.5273, allocations: 2.327 MB / 0.6459 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003662/0.531, allocations: 2.235 MB / 0.6481 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.531, allocations: 0 / 0.6481 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009246/0.5319, allocations: 0.6031 MB / 0.6487 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5334, allocations: 271.3 kB / 0.6489 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/0.5645, allocations: 21.15 MB / 0.6696 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.567, allocations: 2.074 MB / 0.6716 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001936/0.5689, allocations: 0.7266 MB / 0.6723 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.5704, allocations: 0.964 MB / 0.6733 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.5705, allocations: 0 / 0.6733 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07438/0.6448, allocations: 39.03 MB / 0.7114 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.9, allocations: 0 / 0.7114 GB, free: 2.773 MB / 0.5606 GB (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