Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, 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.2305/0.2305, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01402/0.3525, allocations: 12.27 MB / 0.5425 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008854/0.3614, allocations: 3.848 MB / 0.5463 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.3635, allocations: 60.69 kB / 0.5463 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.3669, allocations: 1.319 MB / 0.5476 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.3721, allocations: 1.716 MB / 0.5493 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3734, allocations: 427.2 kB / 0.5497 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005064/0.3785, allocations: 3.598 MB / 0.5532 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.381, allocations: 2.015 MB / 0.5552 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.3826, allocations: 1.195 MB / 0.5563 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.3846, allocations: 1.736 MB / 0.558 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.3851, allocations: 236 kB / 0.5583 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.3866, allocations: 0.8035 MB / 0.559 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.3879, allocations: 1.57 MB / 0.5606 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.3896, allocations: 1.871 MB / 0.5624 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.3961, allocations: 6.079 MB / 0.5683 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3962, allocations: 0 / 0.5683 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3962, allocations: 0 / 0.5683 GB, free: 10.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.3964, allocations: 0 / 0.5683 GB, free: 10.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008334/0.4048, allocations: 4.031 MB / 0.5723 GB, free: 6.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.4048, allocations: 12.03 kB / 0.5723 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/0.4059, allocations: 0.7079 MB / 0.573 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4166, allocations: 3.088 MB / 0.576 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.4224, allocations: 2.12 MB / 0.5781 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.4226, allocations: 192.8 kB / 0.5782 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009138/0.4235, allocations: 251.7 kB / 0.5785 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.4394, allocations: 10.17 MB / 0.5884 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.846e-05/0.4395, allocations: 23.81 kB / 0.5884 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.4399, allocations: 119.8 kB / 0.5886 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003769/0.4437, allocations: 2.463 MB / 0.591 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.4612, allocations: 9.351 MB / 0.6001 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05273/0.514, allocations: 31.45 MB / 0.6308 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006361/0.5204, allocations: 3.349 MB / 0.6341 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.5223, allocations: 1.074 MB / 0.6351 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.5237, allocations: 1.306 MB / 0.6364 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.5238, allocations: 47.88 kB / 0.6364 GB, free: 3.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 7.434e-06/0.5238, allocations: 7.938 kB / 0.6365 GB, free: 3.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02064/0.5445, allocations: 9.105 MB / 0.6453 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.5446, allocations: 64.72 kB / 0.6454 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.5492, allocations: 2.611 MB / 0.648 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.5494, allocations: 45.7 kB / 0.648 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.5516, allocations: 2.674 MB / 0.6506 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/0.5524, allocations: 0.6977 MB / 0.6513 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.5539, allocations: 0.9645 MB / 0.6522 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.554, allocations: 301.1 kB / 0.6525 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.5564, allocations: 1.551 MB / 0.654 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004341/0.5608, allocations: 4.367 MB / 0.6583 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007856/0.5687, allocations: 6.559 MB / 0.6647 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.354e-05/0.5688, allocations: 28 kB / 0.6647 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009899/0.5787, allocations: 5.831 MB / 0.6704 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.5788, allocations: 51.98 kB / 0.6705 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/0.579, allocations: 103.9 kB / 0.6706 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.5794, allocations: 168.8 kB / 0.6707 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.5826, allocations: 1.065 MB / 0.6718 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.5844, allocations: 1.798 MB / 0.6735 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.587, allocations: 215.9 kB / 0.6737 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/0.5876, allocations: 291.9 kB / 0.674 GB, free: 9.637 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003651/0.5913, allocations: 1.988 MB / 0.676 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005125/0.5918, allocations: 248.7 kB / 0.6762 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.5961, allocations: 2.537 MB / 0.6787 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/0.5961, allocations: 20 kB / 0.6787 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.5961, allocations: 3.984 kB / 0.6787 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5962, allocations: 3.984 kB / 0.6787 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.6117, allocations: 7.925 MB / 0.6864 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/0.6118, allocations: 12 kB / 0.6865 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.6129, allocations: 251.8 kB / 0.6867 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.6132, allocations: 56.77 kB / 0.6867 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.6134, allocations: 47.98 kB / 0.6868 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6151, allocations: 1.618 MB / 0.6884 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/0.6151, allocations: 19.88 kB / 0.6884 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.6208, allocations: 4.019 MB / 0.6923 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.6218, allocations: 297.9 kB / 0.6926 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.6223, allocations: 35.98 kB / 0.6926 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6233, allocations: 55.95 kB / 0.6927 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.6236, allocations: 132.5 kB / 0.6928 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6237, allocations: 63.98 kB / 0.6929 GB, free: 5.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003105/0.6268, allocations: 1.603 MB / 0.6944 GB, free: 4.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6269, allocations: 0 / 0.6944 GB, free: 4.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004195/0.6311, allocations: 0.7773 MB / 0.6952 GB, free: 3.383 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006338/0.6374, allocations: 4.694 MB / 0.6998 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006736/0.6442, allocations: 3.865 MB / 0.7036 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.6442, allocations: 4.312 kB / 0.7036 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.6464, allocations: 1.237 MB / 0.7048 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.6492, allocations: 355.8 kB / 0.7051 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3266/0.9758, allocations: 33.17 MB / 0.7375 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/0.9796, allocations: 3.125 MB / 0.7406 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003456/0.983, allocations: 1.713 MB / 0.7422 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.9849, allocations: 1.691 MB / 0.7439 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.9849, allocations: 0 / 0.7439 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/1.062, allocations: 46.31 MB / 0.7891 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.9, allocations: 12.8 kB / 0.7891 GB, free: 129.2 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches