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.001082/0.001082, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4917, 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.01078/0.5025, allocations: 8.633 MB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009343/0.5119, allocations: 3.467 MB / 0.5428 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.5149, allocations: 45.62 kB / 0.5429 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.5189, allocations: 1.364 MB / 0.5442 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.5235, allocations: 0.9186 MB / 0.5451 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5257, allocations: 0.5087 MB / 0.5456 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.5297, allocations: 1.73 MB / 0.5473 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.5325, allocations: 1.652 MB / 0.5489 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.5343, allocations: 0.6581 MB / 0.5495 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.5363, allocations: 0.8879 MB / 0.5504 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006493/0.537, allocations: 140 kB / 0.5505 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.539, allocations: 0.5617 MB / 0.5511 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.5403, allocations: 0.7209 MB / 0.5518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.5422, allocations: 0.8237 MB / 0.5526 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.5472, allocations: 2.49 MB / 0.555 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.5473, allocations: 0 / 0.555 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5473, allocations: 0 / 0.555 GB, free: 9.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.5474, allocations: 0 / 0.555 GB, free: 9.004 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.006222/0.5537, allocations: 2.038 MB / 0.557 GB, free: 6.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.5538, allocations: 8.031 kB / 0.557 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.5553, allocations: 279.5 kB / 0.5573 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.5581, allocations: 1.056 MB / 0.5583 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5582, allocations: 102.6 kB / 0.5584 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.5585, allocations: 135.8 kB / 0.5585 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005804/0.5643, allocations: 2.992 MB / 0.5615 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.5644, allocations: 11.94 kB / 0.5615 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.5645, allocations: 59.97 kB / 0.5615 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006223/0.5651, allocations: 426 kB / 0.5619 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.5698, allocations: 2.183 MB / 0.5641 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5831, allocations: 10.72 MB / 0.5745 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.5871, allocations: 1.25 MB / 0.5758 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.5878, allocations: 407.2 kB / 0.5762 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004323/0.5921, allocations: 3.085 MB / 0.5792 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.5922, allocations: 39 kB / 0.5792 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.996e-06/0.5922, allocations: 0 / 0.5792 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.0122/0.6044, allocations: 3.825 MB / 0.5829 GB, free: 11.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.6045, allocations: 85.67 kB / 0.583 GB, free: 11.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.6064, allocations: 1.178 MB / 0.5842 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.6064, allocations: 37.7 kB / 0.5842 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/0.6073, allocations: 0.9701 MB / 0.5852 GB, free: 9.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.6075, allocations: 230.2 kB / 0.5854 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/0.608, allocations: 315.3 kB / 0.5857 GB, free: 8.562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6081, allocations: 301.1 kB / 0.586 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.6088, allocations: 427.7 kB / 0.5864 GB, free: 7.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.6102, allocations: 1.258 MB / 0.5876 GB, free: 6.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.6123, allocations: 1.818 MB / 0.5894 GB, free: 3.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.6123, allocations: 12 kB / 0.5894 GB, free: 3.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00251/0.6148, allocations: 1.735 MB / 0.5911 GB, free: 2.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.6149, allocations: 20.19 kB / 0.5911 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.6149, allocations: 32 kB / 0.5911 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.6151, allocations: 92.81 kB / 0.5912 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/0.6161, allocations: 359.3 kB / 0.5916 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.6178, allocations: 1.869 MB / 0.5934 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6188, allocations: 71.94 kB / 0.5935 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6189, allocations: 84 kB / 0.5935 GB, free: 15.53 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.00102/0.62, allocations: 0.6557 MB / 0.5942 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6201, allocations: 115.2 kB / 0.5943 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.6204, allocations: 131.3 kB / 0.5944 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.6204, allocations: 8 kB / 0.5944 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6204, allocations: 0 / 0.5944 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6204, allocations: 3.984 kB / 0.5944 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.6236, allocations: 2.243 MB / 0.5966 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6236, allocations: 12.03 kB / 0.5966 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.624, allocations: 95.83 kB / 0.5967 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.6242, allocations: 64.81 kB / 0.5968 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.6242, allocations: 16 kB / 0.5968 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.6258, allocations: 1.948 MB / 0.5987 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6258, allocations: 7.938 kB / 0.5987 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6273, allocations: 1.116 MB / 0.5998 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.6276, allocations: 184.3 kB / 0.6 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.6277, allocations: 19.98 kB / 0.6 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.628, allocations: 27.97 kB / 0.6 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.6281, allocations: 47.89 kB / 0.6001 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.6281, allocations: 19.94 kB / 0.6001 GB, free: 8.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009569/0.6291, allocations: 0.7593 MB / 0.6008 GB, free: 7.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6291, allocations: 0 / 0.6008 GB, free: 7.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001408/0.6305, allocations: 299.9 kB / 0.6011 GB, free: 7.426 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.000277/0.6308, allocations: 127.1 kB / 0.6012 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.6325, allocations: 1.116 MB / 0.6023 GB, free: 6.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6326, allocations: 4 kB / 0.6023 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.6331, allocations: 403.4 kB / 0.6027 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.634, allocations: 190.3 kB / 0.6029 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.6386, allocations: 2.856 MB / 0.6057 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.6398, allocations: 1.443 MB / 0.6071 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009903/0.6408, allocations: 417.6 kB / 0.6075 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.641, allocations: 75.44 kB / 0.6076 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.641, allocations: 0 / 0.6076 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of Templates: time 0.0224/0.6634, allocations: 10.74 MB / 0.618 GB, free: 5.996 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