Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",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.001052/0.001052, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 198.1 kB / 16.79 MB, free: 6.828 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.273/1.273, allocations: 205.1 MB / 222.6 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3155/0.3155, allocations: 43.5 MB / 313.5 MB, free: 8.336 MB / 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.001322/0.001322, allocations: 63.91 kB / 382.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 57.79 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2094/0.3136, allocations: 30.06 MB / 470 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.3255, allocations: 6.785 MB / 476.8 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/0.33, allocations: 129.2 kB / 476.9 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.3322, allocations: 1.266 MB / 478.2 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.3352, allocations: 1.665 MB / 479.8 MB, free: 28.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.3359, allocations: 397.3 kB / 480.2 MB, free: 28.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.3401, allocations: 5.11 MB / 485.3 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.3421, allocations: 2.003 MB / 487.3 MB, free: 26.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.3436, allocations: 1.08 MB / 488.4 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.3455, allocations: 1.859 MB / 490.3 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.3459, allocations: 173.2 kB / 490.4 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.3476, allocations: 0.7992 MB / 491.2 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.3493, allocations: 1.59 MB / 492.8 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.3509, allocations: 1.885 MB / 494.7 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006459/0.3574, allocations: 5.908 MB / 0.4889 GB, free: 21.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3574, allocations: 9.125 kB / 0.4889 GB, free: 21.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3574, allocations: 0 / 0.4889 GB, free: 21.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3576, allocations: 0 / 0.4889 GB, free: 21.22 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006991/0.3646, allocations: 4.164 MB / 0.4929 GB, free: 18.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.3646, allocations: 14.25 kB / 0.493 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00074/0.3654, allocations: 0.7211 MB / 0.4937 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009462/0.3748, allocations: 3.09 MB / 0.4967 GB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.3786, allocations: 2.374 MB / 0.499 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.3788, allocations: 188.7 kB / 0.4992 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004945/0.3793, allocations: 264 kB / 0.4994 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.3931, allocations: 10.39 MB / 0.5096 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.389e-05/0.3932, allocations: 23.81 kB / 0.5096 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.3936, allocations: 119.8 kB / 0.5097 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/0.3968, allocations: 2.553 MB / 0.5122 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.4117, allocations: 9.455 MB / 0.5214 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.044/0.4557, allocations: 32.48 MB / 0.5532 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/0.4612, allocations: 3.377 MB / 0.5565 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.4627, allocations: 1.083 MB / 0.5575 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.4637, allocations: 1.313 MB / 0.5588 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.4638, allocations: 51.88 kB / 0.5588 GB, free: 5.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.28e-06/0.4638, allocations: 0 / 0.5588 GB, free: 5.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02152/0.4853, allocations: 9.816 MB / 0.5684 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4854, allocations: 98.45 kB / 0.5685 GB, free: 11.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/0.4905, allocations: 2.669 MB / 0.5711 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.4906, allocations: 49.7 kB / 0.5712 GB, free: 9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.4927, allocations: 2.747 MB / 0.5739 GB, free: 6.215 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/0.4934, allocations: 0.7093 MB / 0.5746 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.4949, allocations: 0.9766 MB / 0.5755 GB, free: 4.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.495, allocations: 305.1 kB / 0.5758 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.4973, allocations: 1.563 MB / 0.5773 GB, free: 2.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/0.5012, allocations: 4.465 MB / 0.5817 GB, free: 12.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.5077, allocations: 6.687 MB / 0.5882 GB, free: 4.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.5078, allocations: 28 kB / 0.5882 GB, free: 4.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.008382/0.5162, allocations: 5.936 MB / 0.594 GB, free: 14.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.5163, allocations: 55.92 kB / 0.5941 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.5164, allocations: 104.9 kB / 0.5942 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.5167, allocations: 176.8 kB / 0.5944 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.5195, allocations: 1.092 MB / 0.5954 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.521, allocations: 1.679 MB / 0.5971 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.5236, allocations: 215.8 kB / 0.5973 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/0.524, allocations: 307.9 kB / 0.5976 GB, free: 10.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (605): * Single equations (assignments): 598 * 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.003131/0.5271, allocations: 2.032 MB / 0.5996 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.5275, allocations: 248.8 kB / 0.5998 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.531, allocations: 2.538 MB / 0.6023 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.531, allocations: 27.92 kB / 0.6023 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.531, allocations: 0 / 0.6023 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.531, allocations: 7.969 kB / 0.6023 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.5423, allocations: 8.168 MB / 0.6103 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.5423, allocations: 12.03 kB / 0.6103 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.5433, allocations: 255.5 kB / 0.6105 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.5434, allocations: 52.83 kB / 0.6106 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.5435, allocations: 51.92 kB / 0.6106 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.5447, allocations: 1.519 MB / 0.6121 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.5448, allocations: 15.94 kB / 0.6121 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/0.5496, allocations: 4.05 MB / 0.6161 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.5508, allocations: 0.4978 MB / 0.6166 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.551, allocations: 36 kB / 0.6166 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.5518, allocations: 60.02 kB / 0.6167 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.552, allocations: 128.6 kB / 0.6168 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.5521, allocations: 60 kB / 0.6168 GB, free: 6.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002441/0.5546, allocations: 1.64 MB / 0.6184 GB, free: 4.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5546, allocations: 0 / 0.6184 GB, free: 4.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003456/0.558, allocations: 0.8164 MB / 0.6192 GB, free: 4.121 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.005577/0.5636, allocations: 4.737 MB / 0.6239 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006274/0.5699, allocations: 3.876 MB / 0.6277 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.5699, allocations: 4 kB / 0.6277 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.5715, allocations: 1.241 MB / 0.6289 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.5736, allocations: 331.7 kB / 0.6292 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2157/0.7893, allocations: 38.62 MB / 0.6669 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/0.7924, allocations: 3.194 MB / 0.67 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00369/0.7961, allocations: 1.742 MB / 0.6717 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.7978, allocations: 1.748 MB / 0.6734 GB, free: 140 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.7978, allocations: 0 / 0.6734 GB, free: 140 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.8651, allocations: 48.24 MB / 0.7205 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.8652, allocations: 215.5 kB / 0.7208 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.829, allocations: 0 / 0.7208 GB, free: 109.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches