Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.001278/0.001278, allocations: 106.2 kB / 16.41 MB, free: 6.492 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.001319/0.001318, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1954/0.1954, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 73.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01183/0.1207, allocations: 10.32 MB / 0.4975 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.1273, allocations: 3.415 MB / 0.5008 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1286, allocations: 47.94 kB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004633/0.1332, allocations: 2.629 MB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.1349, allocations: 0.6606 MB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1368, allocations: 0.7172 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.139, allocations: 1.699 MB / 0.5064 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/0.1426, allocations: 3.357 MB / 0.5097 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.1443, allocations: 1.044 MB / 0.5107 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.1463, allocations: 1.359 MB / 0.5121 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000643/0.147, allocations: 284 kB / 0.5123 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1489, allocations: 0.987 MB / 0.5133 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.1502, allocations: 1.247 MB / 0.5145 GB, free: 376 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.1525, allocations: 1.461 MB / 0.516 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.1578, allocations: 4.883 MB / 0.5207 GB, free: 10 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1579, allocations: 0 / 0.5207 GB, free: 10 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1579, allocations: 0 / 0.5207 GB, free: 10 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.1581, allocations: 0 / 0.5207 GB, free: 10 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007909/0.166, allocations: 3.083 MB / 0.5237 GB, free: 6.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.166, allocations: 11.89 kB / 0.5237 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001024/0.1671, allocations: 477.3 kB / 0.5242 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.1687, allocations: 356.9 kB / 0.5245 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.1713, allocations: 1.336 MB / 0.5258 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.1715, allocations: 172.5 kB / 0.526 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000552/0.172, allocations: 231.9 kB / 0.5262 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2085/0.3806, allocations: 6.885 MB / 0.533 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.3807, allocations: 17.38 kB / 0.533 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.3809, allocations: 101.1 kB / 0.5331 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001432/0.3823, allocations: 0.991 MB / 0.534 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.3946, allocations: 5.68 MB / 0.5396 GB, free: 35.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.4161, allocations: 20.15 MB / 0.5593 GB, free: 22.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006281/0.4224, allocations: 1.808 MB / 0.561 GB, free: 21.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.4232, allocations: 0.6889 MB / 0.5617 GB, free: 20.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004688/0.4279, allocations: 4.886 MB / 0.5665 GB, free: 16.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.428, allocations: 38.97 kB / 0.5665 GB, free: 16.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.428, allocations: 0 / 0.5665 GB, free: 16.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03599/0.464, allocations: 9.248 MB / 0.5755 GB, free: 9.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.464, allocations: 94.05 kB / 0.5756 GB, free: 9.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.4659, allocations: 1.978 MB / 0.5776 GB, free: 7.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.466, allocations: 45.7 kB / 0.5776 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.4666, allocations: 1.672 MB / 0.5792 GB, free: 5.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.4668, allocations: 414.1 kB / 0.5796 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/0.4674, allocations: 0.5797 MB / 0.5802 GB, free: 4.758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.4674, allocations: 309.1 kB / 0.5805 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4686, allocations: 1.038 MB / 0.5815 GB, free: 3.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.4703, allocations: 2.657 MB / 0.5841 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/0.4748, allocations: 3.999 MB / 0.588 GB, free: 11.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/0.4749, allocations: 16 kB / 0.588 GB, free: 11.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005502/0.4804, allocations: 3.684 MB / 0.5916 GB, free: 7.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.4805, allocations: 32 kB / 0.5916 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/0.4805, allocations: 56 kB / 0.5917 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.188e-05/0.4806, allocations: 76 kB / 0.5918 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.4829, allocations: 0.7057 MB / 0.5925 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.174e-05/0.483, allocations: 112.6 kB / 0.5926 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.4847, allocations: 167.8 kB / 0.5927 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.4849, allocations: 164 kB / 0.5929 GB, free: 6.148 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (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 (373): * Single equations (assignments): 373 * 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.001691/0.4866, allocations: 1.203 MB / 0.5941 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.4869, allocations: 178.4 kB / 0.5942 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4897, allocations: 1.741 MB / 0.5959 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4897, allocations: 8 kB / 0.5959 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4898, allocations: 4 kB / 0.5959 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4898, allocations: 7.922 kB / 0.5959 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.4989, allocations: 5.863 MB / 0.6017 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.499, allocations: 12.88 kB / 0.6017 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.4998, allocations: 207.6 kB / 0.6019 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/0.4998, allocations: 23.98 kB / 0.6019 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.4999, allocations: 32 kB / 0.6019 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-05/0.4999, allocations: 27.88 kB / 0.602 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.5, allocations: 16.45 kB / 0.602 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.5019, allocations: 1.697 MB / 0.6036 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.5023, allocations: 263.6 kB / 0.6039 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.5025, allocations: 35.98 kB / 0.6039 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.5033, allocations: 39.92 kB / 0.604 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5034, allocations: 108.2 kB / 0.6041 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.5035, allocations: 40 kB / 0.6041 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.5052, allocations: 1.292 MB / 0.6054 GB, free: 8.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5052, allocations: 0 / 0.6054 GB, free: 8.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00246/0.5077, allocations: 0.5338 MB / 0.6059 GB, free: 8.359 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.002754/0.5104, allocations: 2.332 MB / 0.6082 GB, free: 5.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003464/0.5139, allocations: 2.289 MB / 0.6104 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5139, allocations: 0 / 0.6104 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.5148, allocations: 0.5953 MB / 0.611 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.5161, allocations: 258.7 kB / 0.6112 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/0.5449, allocations: 22.24 MB / 0.6329 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.547, allocations: 2.18 MB / 0.6351 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001952/0.5489, allocations: 0.7703 MB / 0.6358 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.5503, allocations: 1.062 MB / 0.6369 GB, free: 6.004 MB / 478.1 MB Notification: Performance of SimCode: time 4.498e-06/0.5503, allocations: 7.938 kB / 0.6369 GB, free: 5.996 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07316/0.6235, allocations: 40.99 MB / 0.6769 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.59, allocations: 11.69 kB / 0.6769 GB, free: 12.94 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches