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.001769/0.001769, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 199.9 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.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01203/0.3874, allocations: 9.577 MB / 0.5399 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.3961, allocations: 3.215 MB / 0.543 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.3984, allocations: 47.88 kB / 0.5431 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005616/0.4041, allocations: 2.64 MB / 0.5456 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.4067, allocations: 0.631 MB / 0.5463 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.4085, allocations: 0.5207 MB / 0.5468 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002958/0.4115, allocations: 1.469 MB / 0.5482 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.4151, allocations: 3.221 MB / 0.5513 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.4169, allocations: 0.9582 MB / 0.5523 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.419, allocations: 1.262 MB / 0.5535 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007244/0.4198, allocations: 279.9 kB / 0.5538 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4215, allocations: 0.7998 MB / 0.5546 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.4229, allocations: 1.165 MB / 0.5557 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.4248, allocations: 1.345 MB / 0.557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.4302, allocations: 4.449 MB / 0.5614 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4303, allocations: 0 / 0.5614 GB, free: 1.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4303, allocations: 0 / 0.5614 GB, free: 1.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.4304, allocations: 0 / 0.5614 GB, free: 1.949 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.006623/0.4371, allocations: 2.843 MB / 0.5641 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.4371, allocations: 16.03 kB / 0.5641 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007249/0.4379, allocations: 418.9 kB / 0.5645 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.4392, allocations: 370.8 kB / 0.5649 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.442, allocations: 1.244 MB / 0.5661 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.4422, allocations: 172.4 kB / 0.5663 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.4427, allocations: 211.9 kB / 0.5665 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.4546, allocations: 5.619 MB / 0.572 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/0.4547, allocations: 11.88 kB / 0.572 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.455, allocations: 103.9 kB / 0.5721 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/0.4562, allocations: 0.7772 MB / 0.5728 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4664, allocations: 4.283 MB / 0.577 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.4918, allocations: 17.09 MB / 0.5937 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.4964, allocations: 1.25 MB / 0.5949 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.4973, allocations: 398.3 kB / 0.5953 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/0.4996, allocations: 2.137 MB / 0.5974 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.4997, allocations: 51 kB / 0.5974 GB, free: 11.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 4.619e-06/0.4997, allocations: 0 / 0.5974 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.02211/0.5219, allocations: 5.397 MB / 0.6027 GB, free: 6.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.522, allocations: 64.41 kB / 0.6028 GB, free: 6.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.5247, allocations: 1.725 MB / 0.6045 GB, free: 4.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.5248, allocations: 45.7 kB / 0.6045 GB, free: 4.484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.5259, allocations: 1.558 MB / 0.606 GB, free: 2.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.5263, allocations: 420.6 kB / 0.6064 GB, free: 2.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007518/0.5271, allocations: 0.5286 MB / 0.6069 GB, free: 1.961 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5272, allocations: 301.1 kB / 0.6072 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.5285, allocations: 0.782 MB / 0.608 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.5308, allocations: 2.223 MB / 0.6102 GB, free: 13.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/0.5349, allocations: 3.275 MB / 0.6134 GB, free: 9.961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.833e-05/0.535, allocations: 15.94 kB / 0.6134 GB, free: 9.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005189/0.5402, allocations: 3.017 MB / 0.6163 GB, free: 6.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.5403, allocations: 31.94 kB / 0.6164 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.629e-05/0.5403, allocations: 52 kB / 0.6164 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.601e-05/0.5404, allocations: 68 kB / 0.6165 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5423, allocations: 0.5965 MB / 0.6171 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001076/0.5425, allocations: 103.6 kB / 0.6172 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5441, allocations: 124 kB / 0.6173 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.5444, allocations: 144 kB / 0.6174 GB, free: 5.812 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.001831/0.5462, allocations: 1.129 MB / 0.6185 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.5466, allocations: 170.8 kB / 0.6187 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.547, allocations: 208.8 kB / 0.6189 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.547, allocations: 8 kB / 0.6189 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.5471, allocations: 8 kB / 0.6189 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5471, allocations: 3.984 kB / 0.6189 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5579, allocations: 6.069 MB / 0.6248 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.558, allocations: 20 kB / 0.6248 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.5587, allocations: 207.7 kB / 0.625 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/0.5588, allocations: 28 kB / 0.6251 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/0.5589, allocations: 44 kB / 0.6251 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.855e-05/0.5589, allocations: 47.72 kB / 0.6251 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-05/0.559, allocations: 31.88 kB / 0.6252 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.5614, allocations: 1.681 MB / 0.6268 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.5622, allocations: 264 kB / 0.6271 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.5627, allocations: 47.92 kB / 0.6271 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5637, allocations: 47.98 kB / 0.6272 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.5639, allocations: 135.3 kB / 0.6273 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.564, allocations: 56 kB / 0.6273 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002176/0.5662, allocations: 1.139 MB / 0.6285 GB, free: 9.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5662, allocations: 0 / 0.6285 GB, free: 9.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002998/0.5692, allocations: 459.9 kB / 0.6289 GB, free: 9.367 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.003146/0.5724, allocations: 2.321 MB / 0.6312 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.5759, allocations: 1.824 MB / 0.6329 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/0.576, allocations: 8.062 kB / 0.633 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.5769, allocations: 498.4 kB / 0.6334 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.579, allocations: 282 kB / 0.6337 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/0.6149, allocations: 19.78 MB / 0.653 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.618, allocations: 2.077 MB / 0.655 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001877/0.6199, allocations: 0.6712 MB / 0.6557 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/0.6214, allocations: 0.9523 MB / 0.6566 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/0.6214, allocations: 0 / 0.6566 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/0.6938, allocations: 34.93 MB / 0.6907 GB, free: 7.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.45, allocations: 21.86 kB / 0.6908 GB, free: 7.43 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