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.001203/0.001203, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, 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.2407/0.2407, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3404, allocations: 62.44 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01321/0.3536, allocations: 9.566 MB / 0.5399 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.3631, allocations: 3.436 MB / 0.5432 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.3655, allocations: 47.12 kB / 0.5433 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00565/0.3712, allocations: 2.593 MB / 0.5458 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.3733, allocations: 0.5913 MB / 0.5464 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.3755, allocations: 0.7239 MB / 0.5471 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.3778, allocations: 1.57 MB / 0.5486 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003873/0.3816, allocations: 3.29 MB / 0.5518 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.3836, allocations: 0.9855 MB / 0.5528 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.3857, allocations: 1.313 MB / 0.5541 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.3864, allocations: 280 kB / 0.5543 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.3886, allocations: 1.003 MB / 0.5553 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.39, allocations: 1.173 MB / 0.5565 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.3921, allocations: 1.364 MB / 0.5578 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.3979, allocations: 4.654 MB / 0.5623 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3979, allocations: 0 / 0.5623 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.398, allocations: 0 / 0.5623 GB, free: 0.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001599/0.3981, allocations: 3.984 kB / 0.5623 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.008847/0.407, allocations: 2.933 MB / 0.5652 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.407, allocations: 12.02 kB / 0.5652 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4082, allocations: 419.1 kB / 0.5656 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.41, allocations: 357.2 kB / 0.566 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.413, allocations: 1.313 MB / 0.5672 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.4132, allocations: 160.2 kB / 0.5674 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006382/0.4138, allocations: 215.9 kB / 0.5676 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.4282, allocations: 6.488 MB / 0.5739 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.4284, allocations: 11.88 kB / 0.574 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005792/0.429, allocations: 91.95 kB / 0.574 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.4302, allocations: 0.8084 MB / 0.5748 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.4433, allocations: 5.477 MB / 0.5802 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02762/0.4709, allocations: 18.97 MB / 0.5987 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007068/0.478, allocations: 1.825 MB / 0.6005 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4791, allocations: 0.69 MB / 0.6012 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006384/0.4855, allocations: 4.789 MB / 0.6058 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4856, allocations: 39.12 kB / 0.6059 GB, free: 3.008 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/0.4856, allocations: 0 / 0.6059 GB, free: 3.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.03948/0.5251, allocations: 8.746 MB / 0.6144 GB, free: 10.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5252, allocations: 68.34 kB / 0.6145 GB, free: 10.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.5281, allocations: 1.826 MB / 0.6163 GB, free: 8.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5282, allocations: 45.7 kB / 0.6163 GB, free: 8.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.5293, allocations: 1.516 MB / 0.6178 GB, free: 6.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.5298, allocations: 418.5 kB / 0.6182 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008562/0.5307, allocations: 0.5441 MB / 0.6187 GB, free: 5.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5308, allocations: 305.1 kB / 0.619 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.5325, allocations: 1.024 MB / 0.62 GB, free: 4.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.5352, allocations: 2.529 MB / 0.6225 GB, free: 1.191 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.5398, allocations: 3.815 MB / 0.6262 GB, free: 12.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-05/0.5399, allocations: 16 kB / 0.6262 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006115/0.546, allocations: 3.539 MB / 0.6297 GB, free: 9.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.5461, allocations: 28.19 kB / 0.6297 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.464e-05/0.5462, allocations: 56 kB / 0.6298 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-05/0.5463, allocations: 75.98 kB / 0.6298 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.5487, allocations: 0.6629 MB / 0.6305 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.205e-05/0.5488, allocations: 111.5 kB / 0.6306 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5505, allocations: 151.8 kB / 0.6307 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.5508, allocations: 156 kB / 0.6309 GB, free: 7.844 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.001709/0.5525, allocations: 1.129 MB / 0.632 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.5528, allocations: 169.8 kB / 0.6321 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.5559, allocations: 1.753 MB / 0.6339 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.5559, allocations: 16 kB / 0.6339 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.5559, allocations: 3.938 kB / 0.6339 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5559, allocations: 7.969 kB / 0.6339 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.5665, allocations: 5.416 MB / 0.6392 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.5665, allocations: 12 kB / 0.6392 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009091/0.5674, allocations: 215.7 kB / 0.6394 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/0.5675, allocations: 16 kB / 0.6394 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.868e-05/0.5676, allocations: 32 kB / 0.6394 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/0.5676, allocations: 27.86 kB / 0.6395 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.5676, allocations: 19.88 kB / 0.6395 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.5699, allocations: 1.682 MB / 0.6411 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.5704, allocations: 250.9 kB / 0.6414 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.5707, allocations: 35.98 kB / 0.6414 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.5715, allocations: 51.8 kB / 0.6414 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5717, allocations: 100.2 kB / 0.6415 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.5718, allocations: 47.98 kB / 0.6416 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001771/0.5735, allocations: 1.199 MB / 0.6428 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5735, allocations: 0 / 0.6428 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002446/0.576, allocations: 0.4921 MB / 0.6432 GB, free: 10.75 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.002799/0.5788, allocations: 2.314 MB / 0.6455 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003575/0.5824, allocations: 2.238 MB / 0.6477 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.5824, allocations: 4 kB / 0.6477 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.5833, allocations: 0.5952 MB / 0.6483 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.585, allocations: 268.5 kB / 0.6485 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/0.6181, allocations: 21.06 MB / 0.6691 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.6211, allocations: 2.074 MB / 0.6711 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001986/0.6231, allocations: 0.7227 MB / 0.6718 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.6247, allocations: 0.964 MB / 0.6728 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.6247, allocations: 0 / 0.6728 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07723/0.7019, allocations: 39.49 MB / 0.7113 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.24, allocations: 4.062 kB / 0.7113 GB, free: 2.699 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