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.00102/0.00102, allocations: 102.6 kB / 16.02 MB, free: 76 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.001294/0.001294, allocations: 184.7 kB / 16.92 MB, free: 6.918 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.363/1.363, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.3145/0.3145, allocations: 43.57 MB / 315 MB, free: 9.113 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.0004691/0.0004693, allocations: 15.98 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2167/0.3318, allocations: 29.12 MB / 472.7 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.3445, allocations: 6.723 MB / 479.4 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/0.3498, allocations: 121.8 kB / 479.5 MB, free: 29.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009703/0.3508, allocations: 444 kB / 479.9 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.3543, allocations: 1.676 MB / 481.6 MB, free: 28.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.355, allocations: 389.6 kB / 482 MB, free: 28.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.3588, allocations: 5.11 MB / 487.1 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.3615, allocations: 2.468 MB / 489.6 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.3628, allocations: 0.986 MB / 490.6 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3644, allocations: 1.758 MB / 492.3 MB, free: 25.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.3648, allocations: 136.9 kB / 492.5 MB, free: 25.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3662, allocations: 0.7652 MB / 493.2 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.3678, allocations: 1.538 MB / 494.8 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.3696, allocations: 1.851 MB / 496.6 MB, free: 23.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007364/0.377, allocations: 5.781 MB / 0.4906 GB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.377, allocations: 0 / 0.4906 GB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.377, allocations: 0 / 0.4906 GB, free: 21.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002065/0.3772, allocations: 1.031 kB / 0.4906 GB, free: 21.59 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.007518/0.3848, allocations: 3.416 MB / 0.494 GB, free: 19.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3848, allocations: 9.625 kB / 0.494 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.3862, allocations: 0.7255 MB / 0.4947 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.397, allocations: 3.169 MB / 0.4978 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.4024, allocations: 2.375 MB / 0.5001 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.4026, allocations: 196.6 kB / 0.5003 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.4037, allocations: 264.2 kB / 0.5005 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.42, allocations: 10.39 MB / 0.5107 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/0.4201, allocations: 30.95 kB / 0.5107 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.4205, allocations: 120.3 kB / 0.5108 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003375/0.4239, allocations: 2.563 MB / 0.5133 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.4384, allocations: 9.459 MB / 0.5226 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/0.4888, allocations: 32.5 MB / 0.5543 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/0.4947, allocations: 3.387 MB / 0.5576 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.4963, allocations: 1.082 MB / 0.5587 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.4974, allocations: 1.309 MB / 0.5599 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4975, allocations: 43.88 kB / 0.56 GB, free: 6.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 3.958e-06/0.4975, allocations: 0 / 0.56 GB, free: 6.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02032/0.5178, allocations: 9.824 MB / 0.5696 GB, free: 12.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.5179, allocations: 90.42 kB / 0.5697 GB, free: 12.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.5219, allocations: 2.669 MB / 0.5723 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.5221, allocations: 49.7 kB / 0.5723 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.524, allocations: 2.747 MB / 0.575 GB, free: 7.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/0.5247, allocations: 0.717 MB / 0.5757 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.5253, allocations: 433 kB / 0.5761 GB, free: 6.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5254, allocations: 309.1 kB / 0.5764 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/0.5278, allocations: 1.559 MB / 0.5779 GB, free: 4.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.5327, allocations: 4.469 MB / 0.5823 GB, free: 14.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/0.541, allocations: 6.676 MB / 0.5888 GB, free: 6.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.235e-05/0.5411, allocations: 32 kB / 0.5888 GB, free: 6.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009745/0.5508, allocations: 5.933 MB / 0.5946 GB, free: 196 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.5509, allocations: 55.94 kB / 0.5947 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/0.5511, allocations: 101.1 kB / 0.5948 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.5515, allocations: 180.9 kB / 0.595 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/0.5549, allocations: 1.092 MB / 0.596 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.5566, allocations: 1.682 MB / 0.5977 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/0.5595, allocations: 215.9 kB / 0.5979 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.5599, allocations: 300 kB / 0.5982 GB, free: 12.45 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.00377/0.5637, allocations: 2.032 MB / 0.6001 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.5641, allocations: 252.7 kB / 0.6004 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.5679, allocations: 2.534 MB / 0.6029 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/0.5679, allocations: 31.92 kB / 0.6029 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5679, allocations: 0 / 0.6029 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5679, allocations: 7.984 kB / 0.6029 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.58, allocations: 8.18 MB / 0.6109 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.5801, allocations: 12 kB / 0.6109 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009508/0.581, allocations: 251.6 kB / 0.6111 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.5812, allocations: 60.77 kB / 0.6112 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.5813, allocations: 43.98 kB / 0.6112 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.5826, allocations: 1.507 MB / 0.6127 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.5826, allocations: 15.94 kB / 0.6127 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/0.5878, allocations: 4.047 MB / 0.6167 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.589, allocations: 0.5172 MB / 0.6172 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.5893, allocations: 35.91 kB / 0.6172 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.5902, allocations: 59.95 kB / 0.6173 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.5904, allocations: 124.6 kB / 0.6174 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5905, allocations: 64 kB / 0.6174 GB, free: 8.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002589/0.5931, allocations: 1.644 MB / 0.6191 GB, free: 6.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5931, allocations: 0 / 0.6191 GB, free: 6.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003714/0.5968, allocations: 0.8086 MB / 0.6198 GB, free: 5.676 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.006382/0.6032, allocations: 4.733 MB / 0.6245 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006806/0.6101, allocations: 3.889 MB / 0.6283 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.6101, allocations: 0 / 0.6283 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.6119, allocations: 1.237 MB / 0.6295 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/0.617, allocations: 340.1 kB / 0.6298 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2613/0.8783, allocations: 38.69 MB / 0.6676 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/0.882, allocations: 3.185 MB / 0.6707 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004653/0.8867, allocations: 1.737 MB / 0.6724 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/0.8889, allocations: 1.756 MB / 0.6741 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/0.8889, allocations: 0 / 0.6741 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/1.037, allocations: 47.87 MB / 0.7208 GB, free: 88.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.038, allocations: 215 kB / 0.7211 GB, free: 88.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.071, allocations: 0 / 0.7211 GB, free: 88.46 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