Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.001089, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.6 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007382/0.0007382, allocations: 91.62 kB / 295.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002382, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09212, allocations: 62.95 MB / 0.5153 GB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01924/0.1114, allocations: 23.61 MB / 0.5384 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.122, allocations: 5.978 MB / 0.5442 GB, free: 7.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.125, allocations: 107.8 kB / 0.5443 GB, free: 7.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.1274, allocations: 1.038 MB / 0.5453 GB, free: 6.297 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.1342, allocations: 3.307 MB / 0.5486 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1354, allocations: 447.3 kB / 0.549 GB, free: 2.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.1374, allocations: 1.921 MB / 0.5509 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1933/0.3307, allocations: 1.963 MB / 0.5528 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.3315, allocations: 0.5094 MB / 0.5533 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.3324, allocations: 0.7905 MB / 0.554 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.3326, allocations: 54.97 kB / 0.5541 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007359/0.3333, allocations: 426.9 kB / 0.5545 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.3339, allocations: 0.6206 MB / 0.5551 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.3341, allocations: 318.4 kB / 0.5554 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.336, allocations: 1.888 MB / 0.5573 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.336, allocations: 1.125 kB / 0.5573 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.336, allocations: 0 / 0.5573 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.3361, allocations: 0 / 0.5573 GB, free: 11.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002595/0.3387, allocations: 1.716 MB / 0.5589 GB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3387, allocations: 8.969 kB / 0.5589 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.3396, allocations: 261.9 kB / 0.5592 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.3412, allocations: 1.022 MB / 0.5602 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.3412, allocations: 94.5 kB / 0.5603 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.3414, allocations: 122.5 kB / 0.5604 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.3463, allocations: 2.981 MB / 0.5633 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.3464, allocations: 15.59 kB / 0.5633 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.3465, allocations: 56.56 kB / 0.5634 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005973/0.3471, allocations: 441.7 kB / 0.5638 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003917/0.351, allocations: 2.153 MB / 0.5659 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009504/0.3605, allocations: 10.74 MB / 0.5764 GB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.364, allocations: 1.226 MB / 0.5776 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.3646, allocations: 406.2 kB / 0.578 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/0.3676, allocations: 3.005 MB / 0.5809 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3676, allocations: 40.53 kB / 0.581 GB, free: 1.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.3677, allocations: 0 / 0.581 GB, free: 1.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.009611/0.3773, allocations: 3.748 MB / 0.5846 GB, free: 396 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3773, allocations: 82.61 kB / 0.5847 GB, free: 300 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3786, allocations: 1.184 MB / 0.5858 GB, free: 15.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.3786, allocations: 39.67 kB / 0.5859 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/0.3791, allocations: 0.9416 MB / 0.5868 GB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3793, allocations: 217.3 kB / 0.587 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3793, allocations: 31.38 kB / 0.587 GB, free: 15.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3795, allocations: 369.8 kB / 0.5874 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.38, allocations: 411.4 kB / 0.5878 GB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.381, allocations: 1.254 MB / 0.589 GB, free: 13.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.3817, allocations: 0.6745 MB / 0.5897 GB, free: 13.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3818, allocations: 9.469 kB / 0.5897 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002049/0.3838, allocations: 1.717 MB / 0.5914 GB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3839, allocations: 20.97 kB / 0.5914 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3839, allocations: 28.16 kB / 0.5914 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.3841, allocations: 91.36 kB / 0.5915 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/0.385, allocations: 357.8 kB / 0.5918 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.3863, allocations: 1.698 MB / 0.5935 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.3871, allocations: 68.52 kB / 0.5936 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.3873, allocations: 93.67 kB / 0.5936 GB, free: 11.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008876/0.3882, allocations: 0.6443 MB / 0.5943 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3883, allocations: 114.5 kB / 0.5944 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3893, allocations: 0.7076 MB / 0.5951 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3893, allocations: 8 kB / 0.5951 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3893, allocations: 4 kB / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3894, allocations: 7.938 kB / 0.5951 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.3923, allocations: 2.229 MB / 0.5973 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3923, allocations: 4 kB / 0.5973 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.3927, allocations: 93.31 kB / 0.5974 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.3928, allocations: 75.73 kB / 0.5974 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3929, allocations: 13.75 kB / 0.5974 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.3942, allocations: 1.753 MB / 0.5992 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.3942, allocations: 14.39 kB / 0.5992 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.3955, allocations: 1.088 MB / 0.6002 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.3957, allocations: 183.6 kB / 0.6004 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3958, allocations: 16 kB / 0.6004 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.3962, allocations: 33.69 kB / 0.6005 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.3962, allocations: 52.48 kB / 0.6005 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3963, allocations: 20 kB / 0.6005 GB, free: 5.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000894/0.3972, allocations: 0.748 MB / 0.6013 GB, free: 4.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3972, allocations: 0 / 0.6013 GB, free: 4.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001183/0.3984, allocations: 304 kB / 0.6015 GB, free: 4.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.3986, allocations: 120.8 kB / 0.6017 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.4001, allocations: 1.091 MB / 0.6027 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4001, allocations: 0 / 0.6027 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.4006, allocations: 406.9 kB / 0.6031 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.4015, allocations: 185.6 kB / 0.6033 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.4061, allocations: 3.523 MB / 0.6067 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.4073, allocations: 1.447 MB / 0.6081 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4075, allocations: 91.42 kB / 0.6082 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4076, allocations: 0 / 0.6082 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Templates: time 0.02584/0.4334, allocations: 22.22 MB / 0.6299 GB, free: 7.559 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches