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.001055/0.001055, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1994/0.1994, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 80.16 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00873/0.3122, allocations: 8.641 MB / 0.5401 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.3187, allocations: 3.471 MB / 0.5435 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.3199, allocations: 45 kB / 0.5435 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.3224, allocations: 1.356 MB / 0.5449 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.3249, allocations: 0.9221 MB / 0.5458 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.326, allocations: 0.512 MB / 0.5463 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.3282, allocations: 1.728 MB / 0.5479 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.3299, allocations: 1.655 MB / 0.5496 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.3308, allocations: 0.6581 MB / 0.5502 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009777/0.3318, allocations: 0.8879 MB / 0.5511 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.332, allocations: 140 kB / 0.5512 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009887/0.333, allocations: 0.5734 MB / 0.5518 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.3337, allocations: 0.7325 MB / 0.5525 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.3344, allocations: 0.8237 MB / 0.5533 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.3367, allocations: 2.474 MB / 0.5557 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3368, allocations: 0 / 0.5557 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3368, allocations: 0 / 0.5557 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.3368, allocations: 0 / 0.5557 GB, free: 9.02 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.003181/0.34, allocations: 1.99 MB / 0.5576 GB, free: 6.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.34, allocations: 8.031 kB / 0.5576 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3411, allocations: 266.5 kB / 0.5579 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.343, allocations: 1.059 MB / 0.5589 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3431, allocations: 102.5 kB / 0.559 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3432, allocations: 131.9 kB / 0.5592 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/0.348, allocations: 2.992 MB / 0.5621 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.3481, allocations: 11.84 kB / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.3482, allocations: 67.89 kB / 0.5622 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005633/0.3488, allocations: 430 kB / 0.5626 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.3531, allocations: 2.175 MB / 0.5647 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.364, allocations: 10.69 MB / 0.5751 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/0.3676, allocations: 1.25 MB / 0.5764 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.3682, allocations: 407.2 kB / 0.5767 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003433/0.3716, allocations: 3.092 MB / 0.5798 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3717, allocations: 35 kB / 0.5798 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.894e-06/0.3717, allocations: 0 / 0.5798 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01056/0.3822, allocations: 3.803 MB / 0.5835 GB, free: 11.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3823, allocations: 81.67 kB / 0.5836 GB, free: 11.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.3836, allocations: 1.185 MB / 0.5847 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3836, allocations: 33.7 kB / 0.5848 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.3842, allocations: 0.9395 MB / 0.5857 GB, free: 9.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3843, allocations: 213.1 kB / 0.5859 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.3847, allocations: 319.1 kB / 0.5862 GB, free: 8.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.3847, allocations: 301.1 kB / 0.5865 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.3853, allocations: 423.7 kB / 0.5869 GB, free: 8.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3864, allocations: 1.258 MB / 0.5881 GB, free: 6.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3881, allocations: 1.814 MB / 0.5899 GB, free: 4.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.3881, allocations: 8 kB / 0.5899 GB, free: 4.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002375/0.3905, allocations: 1.742 MB / 0.5916 GB, free: 2.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.3905, allocations: 19.98 kB / 0.5916 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.3906, allocations: 32 kB / 0.5917 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.3908, allocations: 84.83 kB / 0.5917 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/0.3918, allocations: 359.3 kB / 0.5921 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.3932, allocations: 1.869 MB / 0.5939 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.394, allocations: 71.94 kB / 0.594 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.3941, allocations: 92 kB / 0.5941 GB, free: 15.69 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.0007471/0.3949, allocations: 0.644 MB / 0.5947 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.395, allocations: 110.6 kB / 0.5948 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.3952, allocations: 135.3 kB / 0.5949 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3952, allocations: 4 kB / 0.5949 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3953, allocations: 8 kB / 0.5949 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3953, allocations: 4.172 kB / 0.5949 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.3984, allocations: 2.243 MB / 0.5971 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3984, allocations: 4 kB / 0.5971 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.3987, allocations: 103.8 kB / 0.5972 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.3989, allocations: 60.83 kB / 0.5973 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3989, allocations: 12 kB / 0.5973 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.4004, allocations: 1.941 MB / 0.5992 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4004, allocations: 8.062 kB / 0.5992 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.4018, allocations: 1.108 MB / 0.6003 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.402, allocations: 183.7 kB / 0.6005 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.4021, allocations: 19.98 kB / 0.6005 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.4024, allocations: 23.98 kB / 0.6005 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.4025, allocations: 51.88 kB / 0.6005 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.4026, allocations: 20 kB / 0.6006 GB, free: 8.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008516/0.4034, allocations: 0.7593 MB / 0.6013 GB, free: 7.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4034, allocations: 0 / 0.6013 GB, free: 7.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001203/0.4046, allocations: 299.9 kB / 0.6016 GB, free: 7.617 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.000193/0.4048, allocations: 123.1 kB / 0.6017 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.4064, allocations: 1.12 MB / 0.6028 GB, free: 6.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4064, allocations: 4.188 kB / 0.6028 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.4069, allocations: 410.6 kB / 0.6032 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.4078, allocations: 193 kB / 0.6034 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.4118, allocations: 2.938 MB / 0.6063 GB, free: 2.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.4129, allocations: 1.447 MB / 0.6077 GB, free: 1.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4131, allocations: 87.42 kB / 0.6078 GB, free: 1.16 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4131, allocations: 0 / 0.6078 GB, free: 1.16 MB / 462.1 MB Notification: Performance of Templates: time 0.02675/0.4398, allocations: 22.38 MB / 0.6296 GB, free: 10.81 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches