Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001338/0.001338, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001426/0.001426, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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 1.463/1.463, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] 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.2397/0.2397, allocations: 46.18 MB / 351.8 MB, free: 14.28 MB / 286.1 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: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 85.23 kB / 490.9 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1275, allocations: 62.45 MB / 0.5404 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01089/0.1385, allocations: 8.645 MB / 0.5488 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.1457, allocations: 3.46 MB / 0.5522 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.1472, allocations: 47.88 kB / 0.5522 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.1502, allocations: 1.367 MB / 0.5536 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.1528, allocations: 0.8988 MB / 0.5544 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.154, allocations: 0.5264 MB / 0.555 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.1565, allocations: 1.726 MB / 0.5566 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.1586, allocations: 1.663 MB / 0.5583 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1596, allocations: 0.6504 MB / 0.5589 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.1609, allocations: 0.8919 MB / 0.5598 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.1612, allocations: 136 kB / 0.5599 GB, free: 96 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1624, allocations: 0.5695 MB / 0.5605 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007157/0.1631, allocations: 0.7247 MB / 0.5612 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009063/0.164, allocations: 0.8275 MB / 0.562 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.167, allocations: 2.483 MB / 0.5644 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1671, allocations: 0 / 0.5644 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1671, allocations: 0 / 0.5644 GB, free: 11.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.537e-05/0.1671, allocations: 4 kB / 0.5644 GB, free: 11.47 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003934/0.1711, allocations: 2.031 MB / 0.5664 GB, free: 9.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1711, allocations: 12.03 kB / 0.5664 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.1723, allocations: 271.6 kB / 0.5667 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.1744, allocations: 1.064 MB / 0.5677 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.1745, allocations: 98.58 kB / 0.5678 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.1748, allocations: 127.9 kB / 0.5679 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00593/0.1807, allocations: 2.996 MB / 0.5708 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.1808, allocations: 23.86 kB / 0.5709 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.1809, allocations: 55.97 kB / 0.5709 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006492/0.1816, allocations: 430 kB / 0.5713 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005286/0.1869, allocations: 2.179 MB / 0.5734 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.2011, allocations: 10.7 MB / 0.5839 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/0.2054, allocations: 1.249 MB / 0.5851 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.2061, allocations: 415.2 kB / 0.5855 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004264/0.2104, allocations: 3.077 MB / 0.5885 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.2104, allocations: 43 kB / 0.5886 GB, free: 1.848 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.2105, allocations: 0 / 0.5886 GB, free: 1.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01237/0.2228, allocations: 3.821 MB / 0.5923 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.2229, allocations: 81.67 kB / 0.5924 GB, free: 13.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.2245, allocations: 1.185 MB / 0.5935 GB, free: 12.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.2245, allocations: 37.7 kB / 0.5936 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000726/0.2253, allocations: 0.9701 MB / 0.5945 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.2255, allocations: 222.3 kB / 0.5947 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.2259, allocations: 319.3 kB / 0.595 GB, free: 11.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.226, allocations: 301.1 kB / 0.5953 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.2267, allocations: 427.7 kB / 0.5957 GB, free: 10.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.228, allocations: 1.262 MB / 0.597 GB, free: 8.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.2303, allocations: 1.814 MB / 0.5987 GB, free: 6.438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.2303, allocations: 8 kB / 0.5987 GB, free: 6.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002799/0.2331, allocations: 1.742 MB / 0.6004 GB, free: 4.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2332, allocations: 20 kB / 0.6005 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.2332, allocations: 28 kB / 0.6005 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.2334, allocations: 85.61 kB / 0.6006 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.2345, allocations: 367.3 kB / 0.6009 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.2363, allocations: 1.877 MB / 0.6027 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.2372, allocations: 75.92 kB / 0.6028 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.2373, allocations: 84 kB / 0.6029 GB, free: 2.008 MB / 462.1 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 (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.000915/0.2382, allocations: 0.6439 MB / 0.6035 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.2384, allocations: 119.2 kB / 0.6036 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.2386, allocations: 131.3 kB / 0.6038 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2386, allocations: 4 kB / 0.6038 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2387, allocations: 4 kB / 0.6038 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2387, allocations: 3.984 kB / 0.6038 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2639/0.5026, allocations: 2.237 MB / 0.606 GB, free: 59.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5026, allocations: 8.781 kB / 0.606 GB, free: 59.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.503, allocations: 97.84 kB / 0.6061 GB, free: 59.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.5033, allocations: 64.5 kB / 0.6061 GB, free: 59.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.5033, allocations: 15.77 kB / 0.6061 GB, free: 59.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.5048, allocations: 1.941 MB / 0.608 GB, free: 58.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5048, allocations: 4.312 kB / 0.608 GB, free: 58.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5065, allocations: 1.123 MB / 0.6091 GB, free: 58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.5067, allocations: 189.2 kB / 0.6093 GB, free: 57.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5068, allocations: 15.91 kB / 0.6093 GB, free: 57.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5072, allocations: 29.28 kB / 0.6094 GB, free: 57.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.5073, allocations: 49.78 kB / 0.6094 GB, free: 57.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.5074, allocations: 20.42 kB / 0.6094 GB, free: 57.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.5086, allocations: 0.7565 MB / 0.6102 GB, free: 57.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5086, allocations: 0 / 0.6102 GB, free: 57.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001526/0.5101, allocations: 299.4 kB / 0.6105 GB, free: 57.53 MB / 462.1 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.5103, allocations: 119.9 kB / 0.6106 GB, free: 57.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.5124, allocations: 1.112 MB / 0.6117 GB, free: 57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5124, allocations: 2.125 kB / 0.6117 GB, free: 57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.513, allocations: 420.1 kB / 0.6121 GB, free: 56.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5141, allocations: 195.6 kB / 0.6122 GB, free: 56.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.5189, allocations: 2.981 MB / 0.6152 GB, free: 55.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.5201, allocations: 1.447 MB / 0.6166 GB, free: 54.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.5205, allocations: 84.31 kB / 0.6166 GB, free: 54.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5205, allocations: 0.625 kB / 0.6166 GB, free: 54.4 MB / 462.1 MB Notification: Performance of Templates: time 0.0329/0.5534, allocations: 22.4 MB / 0.6385 GB, free: 43.53 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 10.288513491977938]