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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008403/0.0008403, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007996/0.0007996, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8769/0.8769, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 34.23 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.314e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1729/0.1729, allocations: 10.73 MB / 452.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005467/0.1784, allocations: 3.684 MB / 456.6 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.1796, allocations: 70.91 kB / 456.6 MB, free: 36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.1813, allocations: 1.339 MB / 458 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.1838, allocations: 1.828 MB / 459.8 MB, free: 34.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.1845, allocations: 460.2 kB / 460.3 MB, free: 34.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.1873, allocations: 3.965 MB / 464.2 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.189, allocations: 2.101 MB / 466.3 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1908, allocations: 1.838 MB / 468.2 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.1925, allocations: 1.966 MB / 470.1 MB, free: 30.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.1929, allocations: 243.4 kB / 470.4 MB, free: 30.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.1938, allocations: 0.7773 MB / 471.1 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008529/0.1947, allocations: 1.664 MB / 472.8 MB, free: 30.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008292/0.1955, allocations: 1.008 MB / 473.8 MB, free: 29.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.2002, allocations: 6.044 MB / 479.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.2002, allocations: 0.5625 kB / 479.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2002, allocations: 0 / 479.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002382/0.2004, allocations: 4 kB / 479.9 MB, free: 27.43 MB / 410.7 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.009316/0.2097, allocations: 4.072 MB / 483.9 MB, free: 25.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.2098, allocations: 13.09 kB / 483.9 MB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001935/0.2117, allocations: 0.702 MB / 484.6 MB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.2195, allocations: 3.155 MB / 487.8 MB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.2246, allocations: 1.921 MB / 489.7 MB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.2248, allocations: 185.8 kB / 489.9 MB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.2261, allocations: 248.6 kB / 490.1 MB, free: 23.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.2399, allocations: 10.2 MB / 0.4886 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.2399, allocations: 26.22 kB / 0.4886 GB, free: 18.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.2403, allocations: 115.3 kB / 0.4888 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.2427, allocations: 2.468 MB / 0.4912 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.2579, allocations: 9.34 MB / 0.5003 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03705/0.2949, allocations: 30.12 MB / 0.5297 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.299, allocations: 2.42 MB / 0.5321 GB, free: 8.801 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.3001, allocations: 0.9929 MB / 0.533 GB, free: 7.809 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.3006, allocations: 443.4 kB / 0.5335 GB, free: 7.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.3006, allocations: 47.86 kB / 0.5335 GB, free: 7.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.699e-06/0.3006, allocations: 0 / 0.5335 GB, free: 7.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.0142/0.3148, allocations: 9.228 MB / 0.5425 GB, free: 14.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3149, allocations: 68.72 kB / 0.5426 GB, free: 13.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.3182, allocations: 2.934 MB / 0.5454 GB, free: 11.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.3184, allocations: 53.69 kB / 0.5455 GB, free: 10.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.3196, allocations: 2.764 MB / 0.5482 GB, free: 8.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.32, allocations: 0.7247 MB / 0.5489 GB, free: 7.449 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/0.3208, allocations: 0.9458 MB / 0.5498 GB, free: 6.492 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.3209, allocations: 309.1 kB / 0.5501 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.3226, allocations: 1.544 MB / 0.5516 GB, free: 4.637 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.3252, allocations: 4.371 MB / 0.5559 GB, free: 14.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.3306, allocations: 6.551 MB / 0.5623 GB, free: 6.922 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/0.3306, allocations: 28 kB / 0.5623 GB, free: 6.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.007485/0.3381, allocations: 5.853 MB / 0.568 GB, free: 1.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.3382, allocations: 48 kB / 0.5681 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.9e-05/0.3382, allocations: 103.9 kB / 0.5682 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.3385, allocations: 180.8 kB / 0.5684 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.3405, allocations: 1.061 MB / 0.5694 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.342, allocations: 1.683 MB / 0.571 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.3444, allocations: 231.9 kB / 0.5713 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/0.345, allocations: 300 kB / 0.5715 GB, free: 13.32 MB / 490.7 MB 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.003162/0.3481, allocations: 1.989 MB / 0.5735 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/0.3486, allocations: 254.3 kB / 0.5737 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.3515, allocations: 2.526 MB / 0.5762 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.3515, allocations: 31.92 kB / 0.5762 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3516, allocations: 4 kB / 0.5762 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.3516, allocations: 8.781 kB / 0.5762 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.3626, allocations: 7.78 MB / 0.5838 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.3626, allocations: 8 kB / 0.5838 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.3632, allocations: 247.6 kB / 0.5841 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.3636, allocations: 52.83 kB / 0.5841 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.3637, allocations: 51.92 kB / 0.5842 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3647, allocations: 1.526 MB / 0.5857 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.3647, allocations: 15.94 kB / 0.5857 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.3685, allocations: 4.009 MB / 0.5896 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007785/0.3693, allocations: 254.2 kB / 0.5898 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.3695, allocations: 39.98 kB / 0.5899 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.3701, allocations: 79.91 kB / 0.59 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3702, allocations: 116.6 kB / 0.5901 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.3703, allocations: 67.98 kB / 0.5901 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002442/0.3728, allocations: 1.724 MB / 0.5918 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.3728, allocations: 0 / 0.5918 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003439/0.3762, allocations: 0.8436 MB / 0.5926 GB, free: 7.219 MB / 0.4948 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.004671/0.3809, allocations: 4.695 MB / 0.5972 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005012/0.3859, allocations: 3.731 MB / 0.6009 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.3859, allocations: 0 / 0.6009 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.3872, allocations: 1.159 MB / 0.602 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3888, allocations: 346.9 kB / 0.6023 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/0.4265, allocations: 33.78 MB / 0.6353 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/0.4293, allocations: 2.584 MB / 0.6378 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002411/0.4318, allocations: 1.714 MB / 0.6395 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.4335, allocations: 1.699 MB / 0.6412 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of SimCode: time 1.934e-06/0.4335, allocations: 0 / 0.6412 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2161/0.6496, allocations: 46.52 MB / 0.6866 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.991/9.641, allocations: 8.5 kB / 0.6866 GB, free: 158.8 MB / 0.5417 GB " [Timeout remaining time 650] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.706710821017623]