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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 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.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3475, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01089/0.3585, allocations: 8.644 MB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.366, allocations: 3.461 MB / 0.5423 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.3678, allocations: 48.81 kB / 0.5424 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.3707, allocations: 1.361 MB / 0.5437 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.3739, allocations: 0.9287 MB / 0.5446 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3752, allocations: 0.5165 MB / 0.5451 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.378, allocations: 1.744 MB / 0.5468 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.3799, allocations: 1.642 MB / 0.5484 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.381, allocations: 0.662 MB / 0.5491 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.3822, allocations: 0.8919 MB / 0.55 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.3825, allocations: 136 kB / 0.5501 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3836, allocations: 0.5733 MB / 0.5506 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006936/0.3844, allocations: 0.7326 MB / 0.5514 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.3852, allocations: 0.8315 MB / 0.5522 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.3879, allocations: 2.484 MB / 0.5546 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.388, allocations: 4 kB / 0.5546 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.388, allocations: 0 / 0.5546 GB, free: 9.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.884e-05/0.388, allocations: 0 / 0.5546 GB, free: 9.035 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.003357/0.3914, allocations: 2.058 MB / 0.5566 GB, free: 6.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3914, allocations: 8.031 kB / 0.5566 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.3917, allocations: 245.5 kB / 0.5569 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3928, allocations: 283.5 kB / 0.5571 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.3954, allocations: 1.294 MB / 0.5584 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.3955, allocations: 94.39 kB / 0.5585 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.3957, allocations: 128 kB / 0.5586 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.4007, allocations: 2.996 MB / 0.5615 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.4007, allocations: 19.89 kB / 0.5615 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4009, allocations: 51.97 kB / 0.5616 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005554/0.4014, allocations: 438 kB / 0.562 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.4058, allocations: 2.179 MB / 0.5641 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.4176, allocations: 10.71 MB / 0.5746 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.4214, allocations: 1.246 MB / 0.5758 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.422, allocations: 423.1 kB / 0.5762 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003988/0.426, allocations: 3.077 MB / 0.5792 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.426, allocations: 38.98 kB / 0.5793 GB, free: 14.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.715e-06/0.4261, allocations: 4 kB / 0.5793 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01121/0.4373, allocations: 3.818 MB / 0.583 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.4374, allocations: 81.67 kB / 0.5831 GB, free: 10.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.4392, allocations: 1.198 MB / 0.5842 GB, free: 9.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.4393, allocations: 33.7 kB / 0.5843 GB, free: 9.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.44, allocations: 0.9702 MB / 0.5852 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.4402, allocations: 230.2 kB / 0.5854 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.4407, allocations: 303.4 kB / 0.5857 GB, free: 8.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4408, allocations: 305.1 kB / 0.586 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.4415, allocations: 415.7 kB / 0.5864 GB, free: 7.391 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.4428, allocations: 1.254 MB / 0.5876 GB, free: 5.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.4449, allocations: 1.799 MB / 0.5894 GB, free: 3.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/0.445, allocations: 8 kB / 0.5894 GB, free: 3.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002854/0.4479, allocations: 1.727 MB / 0.5911 GB, free: 1.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.4479, allocations: 16 kB / 0.5911 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.4479, allocations: 32 kB / 0.5911 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.4482, allocations: 80.83 kB / 0.5912 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4492, allocations: 359.9 kB / 0.5916 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.451, allocations: 1.877 MB / 0.5934 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/0.4519, allocations: 71.97 kB / 0.5935 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4521, allocations: 84 kB / 0.5935 GB, free: 15.12 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 (190): * Single equations (assignments): 189 * 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.000892/0.453, allocations: 0.644 MB / 0.5942 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4532, allocations: 123.2 kB / 0.5943 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4534, allocations: 135.7 kB / 0.5944 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4534, allocations: 8 kB / 0.5944 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.4534, allocations: 3.984 kB / 0.5944 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4534, allocations: 0 / 0.5944 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.4568, allocations: 2.243 MB / 0.5966 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4568, allocations: 4 kB / 0.5966 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.4572, allocations: 99.81 kB / 0.5967 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.4574, allocations: 61.33 kB / 0.5968 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.4575, allocations: 23.98 kB / 0.5968 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.4591, allocations: 1.933 MB / 0.5987 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4591, allocations: 7.938 kB / 0.5987 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.4606, allocations: 1.124 MB / 0.5998 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.4609, allocations: 184.3 kB / 0.6 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4611, allocations: 16 kB / 0.6 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.4615, allocations: 35.92 kB / 0.6 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.4616, allocations: 43.94 kB / 0.6001 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.4616, allocations: 20 kB / 0.6001 GB, free: 8.078 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.4627, allocations: 0.7634 MB / 0.6008 GB, free: 7.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4627, allocations: 0 / 0.6008 GB, free: 7.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001418/0.4642, allocations: 299.9 kB / 0.6011 GB, free: 7.016 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.001947/0.4661, allocations: 1.678 MB / 0.6027 GB, free: 5.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.4681, allocations: 1.107 MB / 0.6038 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4681, allocations: 1.625 kB / 0.6038 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.4687, allocations: 415.2 kB / 0.6042 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4699, allocations: 184.9 kB / 0.6044 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.4872, allocations: 11.49 MB / 0.6156 GB, free: 6.992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4887, allocations: 1.454 MB / 0.617 GB, free: 5.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.4898, allocations: 401.6 kB / 0.6174 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.4907, allocations: 0.5813 MB / 0.618 GB, free: 4.523 MB / 478.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4907, allocations: 4 kB / 0.618 GB, free: 4.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.5471, allocations: 22.96 MB / 0.6404 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.59, allocations: 15.98 kB / 0.6404 GB, free: 13.75 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/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