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) 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/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 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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 83.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4376, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01141/0.449, allocations: 8.638 MB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.4598, allocations: 3.467 MB / 0.5428 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.4627, allocations: 45.66 kB / 0.5429 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.4664, allocations: 1.365 MB / 0.5442 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.4699, allocations: 0.9315 MB / 0.5451 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.4716, allocations: 0.5165 MB / 0.5456 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.4748, allocations: 1.73 MB / 0.5473 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.4771, allocations: 1.643 MB / 0.5489 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.4789, allocations: 0.662 MB / 0.5496 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.4808, allocations: 0.888 MB / 0.5504 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000592/0.4814, allocations: 136 kB / 0.5506 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.4834, allocations: 0.5773 MB / 0.5511 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.4846, allocations: 0.7325 MB / 0.5518 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.4864, allocations: 0.8237 MB / 0.5526 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.49, allocations: 2.474 MB / 0.5551 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.49, allocations: 0 / 0.5551 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.49, allocations: 0 / 0.5551 GB, free: 8.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.4901, allocations: 0 / 0.5551 GB, free: 8.988 MB / 414.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.003857/0.4939, allocations: 1.99 MB / 0.557 GB, free: 6.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.494, allocations: 8.031 kB / 0.557 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4951, allocations: 266.5 kB / 0.5573 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.4971, allocations: 1.059 MB / 0.5583 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.4972, allocations: 94.58 kB / 0.5584 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.4974, allocations: 127.9 kB / 0.5585 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005362/0.5028, allocations: 3.004 MB / 0.5614 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.5028, allocations: 19.83 kB / 0.5615 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.503, allocations: 55.97 kB / 0.5615 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006185/0.5036, allocations: 430 kB / 0.5619 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/0.5084, allocations: 2.175 MB / 0.564 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.5219, allocations: 10.69 MB / 0.5745 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.5259, allocations: 1.258 MB / 0.5757 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.5265, allocations: 407.2 kB / 0.5761 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003968/0.5305, allocations: 3.084 MB / 0.5791 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5306, allocations: 39 kB / 0.5792 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.5306, allocations: 0 / 0.5792 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01182/0.5424, allocations: 3.799 MB / 0.5829 GB, free: 11.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.5425, allocations: 85.67 kB / 0.5829 GB, free: 11.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.544, allocations: 1.181 MB / 0.5841 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.5441, allocations: 33.7 kB / 0.5841 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.5447, allocations: 0.9355 MB / 0.585 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.5449, allocations: 217.1 kB / 0.5853 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.5452, allocations: 315.1 kB / 0.5856 GB, free: 8.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5454, allocations: 309.1 kB / 0.5858 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.546, allocations: 419.7 kB / 0.5862 GB, free: 7.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.5473, allocations: 1.258 MB / 0.5875 GB, free: 6.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.5493, allocations: 1.814 MB / 0.5892 GB, free: 4.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.5493, allocations: 8 kB / 0.5893 GB, free: 4.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002657/0.552, allocations: 1.746 MB / 0.591 GB, free: 2.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.552, allocations: 19.98 kB / 0.591 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.5521, allocations: 32 kB / 0.591 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.5523, allocations: 84.83 kB / 0.5911 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5534, allocations: 359.3 kB / 0.5914 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.5551, allocations: 1.873 MB / 0.5933 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.5561, allocations: 75.94 kB / 0.5933 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5562, allocations: 84 kB / 0.5934 GB, free: 15.66 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.001014/0.5572, allocations: 0.6439 MB / 0.594 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.5574, allocations: 110.6 kB / 0.5941 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.5577, allocations: 135.3 kB / 0.5943 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.5577, allocations: 8 kB / 0.5943 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.5577, allocations: 0 / 0.5943 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5577, allocations: 3.984 kB / 0.5943 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.561, allocations: 2.239 MB / 0.5965 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5611, allocations: 11.94 kB / 0.5965 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.5615, allocations: 103.8 kB / 0.5966 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.5617, allocations: 60.81 kB / 0.5966 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.5617, allocations: 16.47 kB / 0.5967 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.5635, allocations: 1.944 MB / 0.5986 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5635, allocations: 7.938 kB / 0.5986 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5651, allocations: 1.112 MB / 0.5997 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.5653, allocations: 179.7 kB / 0.5998 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5654, allocations: 16 kB / 0.5998 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.5658, allocations: 24.05 kB / 0.5999 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.5659, allocations: 55.81 kB / 0.5999 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.5659, allocations: 20 kB / 0.5999 GB, free: 8.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.567, allocations: 0.7554 MB / 0.6007 GB, free: 7.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.567, allocations: 0 / 0.6007 GB, free: 7.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001572/0.5686, allocations: 299.9 kB / 0.601 GB, free: 7.578 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.0003217/0.5689, allocations: 123.1 kB / 0.6011 GB, free: 7.445 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.5711, allocations: 1.128 MB / 0.6022 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.5711, allocations: 0 / 0.6022 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.5717, allocations: 402.7 kB / 0.6026 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.5727, allocations: 184.2 kB / 0.6027 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.5777, allocations: 2.807 MB / 0.6055 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.579, allocations: 1.451 MB / 0.6069 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009481/0.58, allocations: 409.5 kB / 0.6073 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.5801, allocations: 83.44 kB / 0.6074 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of SimCode: time 2.044e-06/0.5802, allocations: 0 / 0.6074 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of Templates: time 0.02285/0.603, allocations: 10.72 MB / 0.6178 GB, free: 6.203 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches