Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 201.2 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.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.13 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4119, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.02136/0.4333, allocations: 9.577 MB / 0.54 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.4459, allocations: 3.215 MB / 0.5431 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.4487, allocations: 55.34 kB / 0.5431 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005626/0.4544, allocations: 2.637 MB / 0.5457 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.4573, allocations: 0.6047 MB / 0.5463 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.4592, allocations: 0.5226 MB / 0.5468 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.4621, allocations: 1.464 MB / 0.5482 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.4663, allocations: 3.242 MB / 0.5514 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.4682, allocations: 0.9466 MB / 0.5523 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.4705, allocations: 1.266 MB / 0.5536 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005561/0.471, allocations: 275.9 kB / 0.5538 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.4727, allocations: 0.8037 MB / 0.5546 GB, free: 9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.4741, allocations: 1.154 MB / 0.5558 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.4758, allocations: 1.345 MB / 0.5571 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.4821, allocations: 4.433 MB / 0.5614 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4821, allocations: 4 kB / 0.5614 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4822, allocations: 0 / 0.5614 GB, free: 2.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.4823, allocations: 4 kB / 0.5614 GB, free: 2.035 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.006915/0.4892, allocations: 2.843 MB / 0.5642 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4893, allocations: 8.031 kB / 0.5642 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007999/0.4901, allocations: 426.8 kB / 0.5646 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.4914, allocations: 366.8 kB / 0.5649 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.4937, allocations: 1.244 MB / 0.5662 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.4939, allocations: 168.4 kB / 0.5663 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.4942, allocations: 215.9 kB / 0.5665 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.5073, allocations: 5.623 MB / 0.572 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.5074, allocations: 11.88 kB / 0.572 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.5077, allocations: 99.94 kB / 0.5721 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.5089, allocations: 0.7734 MB / 0.5729 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.52, allocations: 4.291 MB / 0.5771 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/0.5488, allocations: 17.1 MB / 0.5938 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.5537, allocations: 1.247 MB / 0.595 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/0.5547, allocations: 398.3 kB / 0.5954 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002471/0.5572, allocations: 2.133 MB / 0.5974 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.5572, allocations: 39.06 kB / 0.5975 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 4.329e-06/0.5573, allocations: 0 / 0.5975 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.0228/0.5801, allocations: 5.405 MB / 0.6028 GB, free: 6.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.5802, allocations: 68.41 kB / 0.6028 GB, free: 6.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.5832, allocations: 1.721 MB / 0.6045 GB, free: 4.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5833, allocations: 49.64 kB / 0.6046 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.5848, allocations: 1.558 MB / 0.6061 GB, free: 2.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.5853, allocations: 420.6 kB / 0.6065 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008812/0.5861, allocations: 0.5286 MB / 0.607 GB, free: 2.043 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5863, allocations: 305.1 kB / 0.6073 GB, free: 1.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5878, allocations: 0.7782 MB / 0.608 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.5906, allocations: 2.219 MB / 0.6102 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006098/0.5968, allocations: 3.275 MB / 0.6134 GB, free: 10.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.63e-05/0.5969, allocations: 19.94 kB / 0.6134 GB, free: 10.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.008601/0.6055, allocations: 3.013 MB / 0.6164 GB, free: 7.008 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/0.6056, allocations: 28 kB / 0.6164 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.6057, allocations: 48 kB / 0.6164 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.6059, allocations: 72 kB / 0.6165 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.6089, allocations: 0.6012 MB / 0.6171 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001528/0.6091, allocations: 103.6 kB / 0.6172 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.6116, allocations: 115.9 kB / 0.6173 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/0.612, allocations: 148 kB / 0.6174 GB, free: 5.902 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (340): * Single equations (assignments): 340 * 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.002743/0.6148, allocations: 1.129 MB / 0.6185 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.6153, allocations: 174.8 kB / 0.6187 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.616, allocations: 204.8 kB / 0.6189 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/0.6161, allocations: 12 kB / 0.6189 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.6162, allocations: 3.938 kB / 0.6189 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.6162, allocations: 3.984 kB / 0.6189 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.6309, allocations: 6.076 MB / 0.6249 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/0.6309, allocations: 20 kB / 0.6249 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.632, allocations: 199.6 kB / 0.6251 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-05/0.6321, allocations: 24 kB / 0.6251 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6322, allocations: 51.98 kB / 0.6251 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.797e-05/0.6322, allocations: 39.8 kB / 0.6252 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/0.6323, allocations: 31.88 kB / 0.6252 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.6355, allocations: 1.685 MB / 0.6269 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/0.6361, allocations: 264 kB / 0.6271 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.6364, allocations: 55.91 kB / 0.6272 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6375, allocations: 40 kB / 0.6272 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.6377, allocations: 127.4 kB / 0.6273 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.6378, allocations: 59.98 kB / 0.6274 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.6403, allocations: 1.135 MB / 0.6285 GB, free: 9.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6403, allocations: 0 / 0.6285 GB, free: 9.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003539/0.6439, allocations: 459.9 kB / 0.6289 GB, free: 9.465 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.004028/0.6479, allocations: 2.333 MB / 0.6312 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.6527, allocations: 1.827 MB / 0.633 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/0.6528, allocations: 0 / 0.633 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.654, allocations: 0.4966 MB / 0.6335 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.6567, allocations: 282.1 kB / 0.6337 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/0.6958, allocations: 19.77 MB / 0.6531 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.699, allocations: 2.077 MB / 0.6551 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001961/0.7009, allocations: 0.6789 MB / 0.6557 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/0.7026, allocations: 0.9523 MB / 0.6567 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.7027, allocations: 0 / 0.6567 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0823/0.785, allocations: 34.92 MB / 0.6908 GB, free: 7.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.51, allocations: 19.31 kB / 0.6908 GB, free: 7.512 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches