Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 188.9 kB / 16.09 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.6 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008226/0.0008225, allocations: 91.42 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3423/0.3423, allocations: 44.81 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3928, allocations: 62.97 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01687/0.4097, allocations: 23.61 MB / 0.5389 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4223, allocations: 5.972 MB / 0.5448 GB, free: 16.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005734/0.428, allocations: 108.9 kB / 0.5449 GB, free: 16.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.431, allocations: 1.034 MB / 0.5459 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009642/0.4407, allocations: 3.323 MB / 0.5491 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.4426, allocations: 478.2 kB / 0.5496 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003624/0.4463, allocations: 1.953 MB / 0.5515 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.45, allocations: 2.196 MB / 0.5536 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4512, allocations: 0.5186 MB / 0.5541 GB, free: 12.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.4525, allocations: 0.781 MB / 0.5549 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.4527, allocations: 58.84 kB / 0.555 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.4539, allocations: 0.5208 MB / 0.5555 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008669/0.4548, allocations: 0.6177 MB / 0.5561 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007374/0.4555, allocations: 0.6945 MB / 0.5568 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.458, allocations: 1.889 MB / 0.5586 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.458, allocations: 5.047 kB / 0.5586 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.458, allocations: 3.938 kB / 0.5586 GB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.457e-05/0.4581, allocations: 3.938 kB / 0.5586 GB, free: 10.67 MB / 378.7 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.003362/0.4615, allocations: 1.699 MB / 0.5603 GB, free: 9.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4615, allocations: 9.281 kB / 0.5603 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4627, allocations: 272.2 kB / 0.5605 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.4645, allocations: 1.033 MB / 0.5616 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.4646, allocations: 100.6 kB / 0.5616 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.4648, allocations: 128.5 kB / 0.5618 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005676/0.4705, allocations: 2.976 MB / 0.5647 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.389e-05/0.4706, allocations: 22.31 kB / 0.5647 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.4708, allocations: 55.19 kB / 0.5647 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007162/0.4715, allocations: 438.7 kB / 0.5652 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004114/0.4756, allocations: 2.162 MB / 0.5673 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.4883, allocations: 10.74 MB / 0.5778 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.4919, allocations: 1.228 MB / 0.579 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.4925, allocations: 413.2 kB / 0.5794 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003878/0.4964, allocations: 2.997 MB / 0.5823 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4965, allocations: 35 kB / 0.5823 GB, free: 4.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.544e-06/0.4965, allocations: 0 / 0.5823 GB, free: 4.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01063/0.5071, allocations: 3.76 MB / 0.586 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.5072, allocations: 85.67 kB / 0.5861 GB, free: 456 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5088, allocations: 1.178 MB / 0.5872 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.5089, allocations: 33.7 kB / 0.5873 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.5095, allocations: 0.9471 MB / 0.5882 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5097, allocations: 221 kB / 0.5884 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.5098, allocations: 32 kB / 0.5884 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5099, allocations: 365.9 kB / 0.5888 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.5105, allocations: 415.7 kB / 0.5892 GB, free: 13.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5117, allocations: 1.242 MB / 0.5904 GB, free: 11.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.5137, allocations: 1.799 MB / 0.5921 GB, free: 9.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.5137, allocations: 12 kB / 0.5922 GB, free: 9.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002669/0.5164, allocations: 1.71 MB / 0.5938 GB, free: 7.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.5164, allocations: 16.94 kB / 0.5938 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.5165, allocations: 32 kB / 0.5939 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.5167, allocations: 88.83 kB / 0.594 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.5177, allocations: 367.4 kB / 0.5943 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.5193, allocations: 1.687 MB / 0.5959 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5203, allocations: 71.89 kB / 0.596 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5205, allocations: 91.94 kB / 0.5961 GB, free: 5.164 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.5216, allocations: 0.633 MB / 0.5967 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5218, allocations: 122.5 kB / 0.5968 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.523, allocations: 0.7067 MB / 0.5975 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.523, allocations: 4 kB / 0.5975 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.523, allocations: 7.938 kB / 0.5975 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.523, allocations: 3.984 kB / 0.5975 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.5265, allocations: 2.231 MB / 0.5997 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5266, allocations: 4 kB / 0.5997 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.527, allocations: 95.88 kB / 0.5998 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.5272, allocations: 64.81 kB / 0.5999 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.5272, allocations: 16.5 kB / 0.5999 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.5288, allocations: 1.756 MB / 0.6016 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5288, allocations: 12.05 kB / 0.6016 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.5302, allocations: 1.087 MB / 0.6027 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.5305, allocations: 183.6 kB / 0.6029 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5306, allocations: 19.94 kB / 0.6029 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.531, allocations: 31.97 kB / 0.6029 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.5311, allocations: 47.89 kB / 0.603 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.5311, allocations: 16 kB / 0.603 GB, free: 13.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.5322, allocations: 0.7558 MB / 0.6037 GB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5322, allocations: 0 / 0.6037 GB, free: 13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001452/0.5336, allocations: 296 kB / 0.604 GB, free: 12.71 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002674/0.5339, allocations: 139 kB / 0.6041 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.5356, allocations: 1.085 MB / 0.6052 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5356, allocations: 0.6875 kB / 0.6052 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.5362, allocations: 398.2 kB / 0.6056 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5376, allocations: 189.1 kB / 0.6057 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.5424, allocations: 3.528 MB / 0.6092 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.5436, allocations: 1.447 MB / 0.6106 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5438, allocations: 83.44 kB / 0.6107 GB, free: 5.719 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5438, allocations: 4 kB / 0.6107 GB, free: 5.715 MB / 426.7 MB Notification: Performance of Templates: time 0.03121/0.575, allocations: 22.16 MB / 0.6323 GB, free: 15.58 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches