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.001208/0.001209, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.001251, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.4 MB / 247.6 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.1957/0.1957, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3108, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008734/0.3195, allocations: 8.643 MB / 0.5401 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.3265, allocations: 3.468 MB / 0.5435 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.3281, allocations: 44.34 kB / 0.5435 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.331, allocations: 1.357 MB / 0.5449 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.3336, allocations: 0.9324 MB / 0.5458 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3346, allocations: 0.5212 MB / 0.5463 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.3369, allocations: 1.735 MB / 0.548 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.3385, allocations: 1.651 MB / 0.5496 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.3394, allocations: 0.6542 MB / 0.5502 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/0.3403, allocations: 0.8879 MB / 0.5511 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.3405, allocations: 144 kB / 0.5512 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.3415, allocations: 0.5695 MB / 0.5518 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3421, allocations: 0.7364 MB / 0.5525 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006717/0.3428, allocations: 0.8237 MB / 0.5533 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.3449, allocations: 2.463 MB / 0.5557 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3449, allocations: 0 / 0.5557 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3449, allocations: 0 / 0.5557 GB, free: 9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.345, allocations: 0 / 0.5557 GB, free: 9 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.002885/0.3478, allocations: 1.998 MB / 0.5577 GB, free: 6.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3479, allocations: 16.02 kB / 0.5577 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.3488, allocations: 262.5 kB / 0.5579 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.3504, allocations: 1.059 MB / 0.559 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.3505, allocations: 98.56 kB / 0.5591 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.3507, allocations: 131.9 kB / 0.5592 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.3553, allocations: 2.992 MB / 0.5621 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.3553, allocations: 15.78 kB / 0.5621 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3554, allocations: 55.97 kB / 0.5622 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/0.356, allocations: 438 kB / 0.5626 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.36, allocations: 2.183 MB / 0.5647 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.3708, allocations: 10.69 MB / 0.5752 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.3742, allocations: 1.239 MB / 0.5764 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.3747, allocations: 411.3 kB / 0.5768 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003489/0.3782, allocations: 3.076 MB / 0.5798 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3783, allocations: 38.94 kB / 0.5798 GB, free: 15.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.3783, allocations: 0 / 0.5798 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01051/0.3888, allocations: 3.803 MB / 0.5835 GB, free: 11.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3889, allocations: 81.67 kB / 0.5836 GB, free: 11.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.3906, allocations: 1.185 MB / 0.5848 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3906, allocations: 29.7 kB / 0.5848 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.3913, allocations: 0.9434 MB / 0.5857 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3914, allocations: 225 kB / 0.5859 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.3918, allocations: 311.2 kB / 0.5862 GB, free: 8.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.3919, allocations: 301.1 kB / 0.5865 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.3925, allocations: 423.7 kB / 0.5869 GB, free: 7.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3936, allocations: 1.262 MB / 0.5881 GB, free: 6.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.3955, allocations: 1.814 MB / 0.5899 GB, free: 4.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.3956, allocations: 8 kB / 0.5899 GB, free: 4.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002623/0.3982, allocations: 1.738 MB / 0.5916 GB, free: 2.324 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.3982, allocations: 18.34 kB / 0.5916 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.3983, allocations: 32 kB / 0.5917 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.3985, allocations: 92.88 kB / 0.5918 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3995, allocations: 359.8 kB / 0.5921 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.4011, allocations: 1.873 MB / 0.5939 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.4019, allocations: 67.89 kB / 0.594 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4021, allocations: 88 kB / 0.5941 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.0008314/0.4029, allocations: 0.6439 MB / 0.5947 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4031, allocations: 110.6 kB / 0.5948 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.4034, allocations: 143.4 kB / 0.5949 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4034, allocations: 4 kB / 0.595 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4034, allocations: 4 kB / 0.595 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4034, allocations: 3.984 kB / 0.595 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4066, allocations: 2.235 MB / 0.5971 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4066, allocations: 7.938 kB / 0.5971 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.407, allocations: 99.95 kB / 0.5972 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.4072, allocations: 65.3 kB / 0.5973 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.4072, allocations: 20 kB / 0.5973 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.4087, allocations: 1.94 MB / 0.5992 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4087, allocations: 4 kB / 0.5992 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.4101, allocations: 1.108 MB / 0.6003 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.4103, allocations: 179.7 kB / 0.6005 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.4104, allocations: 19.98 kB / 0.6005 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.4107, allocations: 24.05 kB / 0.6005 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.4108, allocations: 47.83 kB / 0.6006 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.4109, allocations: 20 kB / 0.6006 GB, free: 8.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008784/0.4117, allocations: 0.7554 MB / 0.6013 GB, free: 7.891 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4117, allocations: 0 / 0.6013 GB, free: 7.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001215/0.413, allocations: 307.9 kB / 0.6016 GB, free: 7.59 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.0001909/0.4132, allocations: 123 kB / 0.6017 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.4147, allocations: 1.124 MB / 0.6028 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.4147, allocations: 0 / 0.6028 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.4153, allocations: 408.2 kB / 0.6032 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.4161, allocations: 192.7 kB / 0.6034 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.4204, allocations: 2.936 MB / 0.6063 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.4214, allocations: 1.451 MB / 0.6077 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4216, allocations: 83.44 kB / 0.6078 GB, free: 1.137 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4216, allocations: 0 / 0.6078 GB, free: 1.137 MB / 462.1 MB Notification: Performance of Templates: time 0.02891/0.4505, allocations: 22.39 MB / 0.6296 GB, free: 10.78 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