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.001184/0.001184, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3624, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01082/0.3733, allocations: 8.642 MB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008381/0.3817, allocations: 3.463 MB / 0.5428 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3833, allocations: 46.31 kB / 0.5429 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.3861, allocations: 1.363 MB / 0.5442 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.3886, allocations: 0.9116 MB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3898, allocations: 0.5162 MB / 0.5456 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.3923, allocations: 1.727 MB / 0.5473 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.3941, allocations: 1.655 MB / 0.5489 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008246/0.3949, allocations: 0.6542 MB / 0.5495 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009936/0.3959, allocations: 0.8918 MB / 0.5504 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.3961, allocations: 140 kB / 0.5505 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009851/0.3971, allocations: 0.5734 MB / 0.5511 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.3977, allocations: 0.7286 MB / 0.5518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.3984, allocations: 0.8315 MB / 0.5526 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.4007, allocations: 2.459 MB / 0.555 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4007, allocations: 3.984 kB / 0.555 GB, free: 9.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4007, allocations: 0 / 0.555 GB, free: 9.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.4008, allocations: 4 kB / 0.555 GB, free: 9.027 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.003235/0.404, allocations: 1.986 MB / 0.557 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4041, allocations: 12.03 kB / 0.557 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4051, allocations: 266.5 kB / 0.5572 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.4069, allocations: 1.055 MB / 0.5583 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.407, allocations: 106.5 kB / 0.5584 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.4071, allocations: 120 kB / 0.5585 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.4122, allocations: 3 MB / 0.5614 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.4123, allocations: 19.84 kB / 0.5614 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.4124, allocations: 55.97 kB / 0.5615 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005932/0.413, allocations: 434 kB / 0.5619 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004479/0.4175, allocations: 2.183 MB / 0.564 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.4296, allocations: 10.69 MB / 0.5745 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.4337, allocations: 1.257 MB / 0.5757 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.4343, allocations: 411.2 kB / 0.5761 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003686/0.438, allocations: 3.073 MB / 0.5791 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.4381, allocations: 43 kB / 0.5791 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.475e-06/0.4381, allocations: 0 / 0.5791 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01148/0.4496, allocations: 3.795 MB / 0.5828 GB, free: 11.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.4497, allocations: 81.67 kB / 0.5829 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.4512, allocations: 1.185 MB / 0.5841 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4512, allocations: 41.64 kB / 0.5841 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.4519, allocations: 0.9355 MB / 0.585 GB, free: 9.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.452, allocations: 217.1 kB / 0.5852 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.4524, allocations: 311.2 kB / 0.5855 GB, free: 8.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.4525, allocations: 305.1 kB / 0.5858 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.4531, allocations: 419.7 kB / 0.5862 GB, free: 8.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.4543, allocations: 1.266 MB / 0.5875 GB, free: 6.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.4562, allocations: 1.814 MB / 0.5892 GB, free: 4.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.4562, allocations: 8 kB / 0.5892 GB, free: 4.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002463/0.4587, allocations: 1.734 MB / 0.5909 GB, free: 2.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4587, allocations: 20 kB / 0.5909 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.4587, allocations: 28 kB / 0.591 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.459, allocations: 89.62 kB / 0.5911 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.46, allocations: 367.4 kB / 0.5914 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.4615, allocations: 1.869 MB / 0.5932 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/0.4623, allocations: 79.88 kB / 0.5933 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.4624, allocations: 84 kB / 0.5934 GB, free: 15.7 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.000857/0.4633, allocations: 0.64 MB / 0.594 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.4634, allocations: 114.6 kB / 0.5941 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4637, allocations: 135.3 kB / 0.5943 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4637, allocations: 4 kB / 0.5943 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4637, allocations: 4 kB / 0.5943 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4637, allocations: 3.984 kB / 0.5943 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.4668, allocations: 2.239 MB / 0.5964 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4668, allocations: 4 kB / 0.5965 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.4672, allocations: 100.3 kB / 0.5965 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.4674, allocations: 64.83 kB / 0.5966 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.4674, allocations: 16 kB / 0.5966 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.4689, allocations: 1.944 MB / 0.5985 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.469, allocations: 11.94 kB / 0.5985 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.4703, allocations: 1.104 MB / 0.5996 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.4705, allocations: 187.8 kB / 0.5998 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.4706, allocations: 15.94 kB / 0.5998 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.471, allocations: 23.98 kB / 0.5998 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.4711, allocations: 47.83 kB / 0.5999 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.4711, allocations: 23.98 kB / 0.5999 GB, free: 8.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008786/0.472, allocations: 0.7554 MB / 0.6006 GB, free: 7.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.472, allocations: 4 kB / 0.6006 GB, free: 7.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001184/0.4732, allocations: 299.9 kB / 0.6009 GB, free: 7.621 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.0002192/0.4734, allocations: 123.1 kB / 0.601 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.4751, allocations: 1.116 MB / 0.6021 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4751, allocations: 0 / 0.6021 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.4757, allocations: 416.5 kB / 0.6025 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.4766, allocations: 190.4 kB / 0.6027 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.4806, allocations: 2.805 MB / 0.6055 GB, free: 2.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.4817, allocations: 1.451 MB / 0.6069 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008948/0.4826, allocations: 409.6 kB / 0.6073 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4827, allocations: 75.44 kB / 0.6073 GB, free: 0.918 MB / 462.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4828, allocations: 0 / 0.6073 GB, free: 0.918 MB / 462.1 MB Notification: Performance of Templates: time 0.02049/0.5032, allocations: 10.73 MB / 0.6178 GB, free: 6.246 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