Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 69.31 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3401/0.4697, allocations: 50.87 MB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.023/0.4928, allocations: 10.23 MB / 0.5175 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.5033, allocations: 207.5 kB / 0.5177 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007127/0.5104, allocations: 3.757 MB / 0.5214 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.514, allocations: 0.7815 MB / 0.5221 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.5164, allocations: 0.8162 MB / 0.5229 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.52, allocations: 2.316 MB / 0.5252 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007574/0.5276, allocations: 5.235 MB / 0.5303 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.5302, allocations: 1.491 MB / 0.5318 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.5339, allocations: 2.104 MB / 0.5338 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.535, allocations: 472.1 kB / 0.5343 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.5374, allocations: 1.172 MB / 0.5354 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.5389, allocations: 1.813 MB / 0.5372 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.5409, allocations: 2.075 MB / 0.5392 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008503/0.5494, allocations: 7.068 MB / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5494, allocations: 4 kB / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5495, allocations: 0 / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001431/0.5496, allocations: 0 / 0.5461 GB, free: 10.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01109/0.5607, allocations: 4.325 MB / 0.5503 GB, free: 6.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.5608, allocations: 12.03 kB / 0.5503 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008076/0.5616, allocations: 0.5882 MB / 0.5509 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/0.5655, allocations: 0.6516 MB / 0.5516 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/0.5701, allocations: 2.218 MB / 0.5537 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.5703, allocations: 246.2 kB / 0.554 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.5709, allocations: 306.7 kB / 0.5543 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.5947, allocations: 9.433 MB / 0.5635 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.167e-05/0.5948, allocations: 15.88 kB / 0.5635 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006309/0.5954, allocations: 136.7 kB / 0.5636 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/0.5974, allocations: 1.181 MB / 0.5648 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.6178, allocations: 8.643 MB / 0.5732 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.658, allocations: 27.26 MB / 0.5998 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009937/0.668, allocations: 3.102 MB / 0.6029 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.6704, allocations: 1.655 MB / 0.6045 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.6833, allocations: 8.985 MB / 0.6132 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6834, allocations: 43.56 kB / 0.6133 GB, free: 4.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 2.885e-06/0.6834, allocations: 3.938 kB / 0.6133 GB, free: 4.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02462/0.7081, allocations: 7.712 MB / 0.6208 GB, free: 13.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.7082, allocations: 64.41 kB / 0.6209 GB, free: 13.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/0.713, allocations: 2.619 MB / 0.6234 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.7132, allocations: 41.7 kB / 0.6235 GB, free: 10.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.7148, allocations: 2.137 MB / 0.6256 GB, free: 8.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.7153, allocations: 438.7 kB / 0.626 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.7166, allocations: 0.7715 MB / 0.6267 GB, free: 7.086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.7167, allocations: 305.1 kB / 0.627 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/0.7193, allocations: 1.428 MB / 0.6284 GB, free: 5.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004712/0.724, allocations: 3.504 MB / 0.6318 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006884/0.7309, allocations: 5.188 MB / 0.6369 GB, free: 10.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.483e-05/0.731, allocations: 20 kB / 0.6369 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008418/0.7394, allocations: 4.922 MB / 0.6417 GB, free: 5.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.7395, allocations: 43.97 kB / 0.6418 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.7396, allocations: 72 kB / 0.6418 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.7398, allocations: 100 kB / 0.6419 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.7428, allocations: 0.885 MB / 0.6428 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001399/0.743, allocations: 143.5 kB / 0.6429 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.7456, allocations: 207.6 kB / 0.6431 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.746, allocations: 212 kB / 0.6433 GB, free: 4.031 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (476): * Single equations (assignments): 475 * Array equations: 1 * 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.002707/0.7487, allocations: 1.597 MB / 0.6449 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/0.7491, allocations: 221.1 kB / 0.6451 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.7524, allocations: 2.094 MB / 0.6472 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.7525, allocations: 12 kB / 0.6472 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7525, allocations: 0 / 0.6472 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7525, allocations: 3.984 kB / 0.6472 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.7634, allocations: 6.075 MB / 0.6531 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.7634, allocations: 12 kB / 0.6531 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.7645, allocations: 259.6 kB / 0.6534 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.656e-05/0.7646, allocations: 20 kB / 0.6534 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.7647, allocations: 36 kB / 0.6534 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-05/0.7647, allocations: 31.86 kB / 0.6535 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/0.7647, allocations: 15.94 kB / 0.6535 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.7675, allocations: 2.181 MB / 0.6556 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/0.7682, allocations: 314.1 kB / 0.6559 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/0.7687, allocations: 36 kB / 0.6559 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7698, allocations: 63.94 kB / 0.656 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.77, allocations: 120.2 kB / 0.6561 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.49e-05/0.7701, allocations: 55.92 kB / 0.6562 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002833/0.773, allocations: 1.672 MB / 0.6578 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.773, allocations: 0 / 0.6578 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003241/0.7763, allocations: 0.6719 MB / 0.6584 GB, free: 4.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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 (136): * Single equations (assignments): 136 * 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.003422/0.7797, allocations: 2.838 MB / 0.6612 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005916/0.7856, allocations: 3.49 MB / 0.6646 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.7857, allocations: 128 / 0.6646 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.7868, allocations: 0.8224 MB / 0.6654 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.7892, allocations: 368.1 kB / 0.6658 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05721/0.8464, allocations: 32.72 MB / 0.6977 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/0.8506, allocations: 2.667 MB / 0.7003 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003462/0.8541, allocations: 0.9384 MB / 0.7013 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/0.8567, allocations: 1.374 MB / 0.7026 GB, free: 2.512 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/0.8568, allocations: 0 / 0.7026 GB, free: 2.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/1.145, allocations: 50.93 MB / 0.7523 GB, free: 181.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.145, allocations: 196.8 kB / 0.7525 GB, free: 181.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/4.257, allocations: 0 / 0.7525 GB, free: 181.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches