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.001559/0.001558, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 206 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 79.86 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3649, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01056/0.3755, allocations: 8.648 MB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.3832, allocations: 3.471 MB / 0.5423 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.3852, allocations: 46.06 kB / 0.5424 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.3882, allocations: 1.356 MB / 0.5437 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.3909, allocations: 0.9075 MB / 0.5446 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3921, allocations: 0.5205 MB / 0.5451 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.3945, allocations: 1.733 MB / 0.5468 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.3962, allocations: 1.646 MB / 0.5484 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.397, allocations: 0.6581 MB / 0.549 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009865/0.398, allocations: 0.8919 MB / 0.5499 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.3982, allocations: 136 kB / 0.55 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009224/0.3991, allocations: 0.5695 MB / 0.5506 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005837/0.3997, allocations: 0.7403 MB / 0.5513 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006999/0.4004, allocations: 0.8275 MB / 0.5521 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.4027, allocations: 2.476 MB / 0.5546 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4027, allocations: 4 kB / 0.5546 GB, free: 9.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4027, allocations: 0 / 0.5546 GB, free: 9.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.4027, allocations: 0 / 0.5546 GB, free: 9.031 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.003107/0.4058, allocations: 2.013 MB / 0.5565 GB, free: 6.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4059, allocations: 8.031 kB / 0.5565 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.4061, allocations: 241.5 kB / 0.5568 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.4073, allocations: 278.5 kB / 0.557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.4093, allocations: 1.274 MB / 0.5583 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.4094, allocations: 106.4 kB / 0.5584 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4095, allocations: 123.9 kB / 0.5585 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.4143, allocations: 3 MB / 0.5614 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.4144, allocations: 11.94 kB / 0.5614 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4145, allocations: 51.98 kB / 0.5615 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005392/0.415, allocations: 438 kB / 0.5619 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.4193, allocations: 2.179 MB / 0.564 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.4315, allocations: 10.69 MB / 0.5745 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/0.4353, allocations: 1.246 MB / 0.5757 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.4359, allocations: 419.1 kB / 0.5761 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003971/0.4399, allocations: 3.08 MB / 0.5791 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.44, allocations: 42.98 kB / 0.5791 GB, free: 14.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 5.771e-06/0.44, allocations: 4 kB / 0.5791 GB, free: 14.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01141/0.4514, allocations: 3.783 MB / 0.5828 GB, free: 11.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.4515, allocations: 81.67 kB / 0.5829 GB, free: 10.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.4534, allocations: 1.194 MB / 0.5841 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.4535, allocations: 37.7 kB / 0.5841 GB, free: 9.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/0.4543, allocations: 0.9356 MB / 0.585 GB, free: 8.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.4545, allocations: 221 kB / 0.5852 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.455, allocations: 311.1 kB / 0.5855 GB, free: 8.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4551, allocations: 301.1 kB / 0.5858 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/0.4559, allocations: 415.7 kB / 0.5862 GB, free: 7.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.4572, allocations: 1.25 MB / 0.5874 GB, free: 5.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.4594, allocations: 1.802 MB / 0.5892 GB, free: 3.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/0.4594, allocations: 8 kB / 0.5892 GB, free: 3.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002976/0.4624, allocations: 1.718 MB / 0.5909 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.4625, allocations: 16 kB / 0.5909 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.014e-05/0.4625, allocations: 32 kB / 0.5909 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.4628, allocations: 84.83 kB / 0.591 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.4639, allocations: 359.9 kB / 0.5914 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.4657, allocations: 1.876 MB / 0.5932 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4668, allocations: 71.97 kB / 0.5933 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.4669, allocations: 84 kB / 0.5933 GB, free: 15.27 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.00103/0.468, allocations: 0.64 MB / 0.594 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4682, allocations: 114.7 kB / 0.5941 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.4685, allocations: 135.6 kB / 0.5942 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4685, allocations: 11.98 kB / 0.5942 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4685, allocations: 0 / 0.5942 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4685, allocations: 0 / 0.5942 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.4723, allocations: 2.247 MB / 0.5964 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4723, allocations: 8 kB / 0.5964 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.4727, allocations: 103.8 kB / 0.5965 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.4729, allocations: 57.33 kB / 0.5966 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.473, allocations: 19.98 kB / 0.5966 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.4746, allocations: 1.936 MB / 0.5985 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.4746, allocations: 12 kB / 0.5985 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.4761, allocations: 1.112 MB / 0.5996 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.4764, allocations: 179.7 kB / 0.5997 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.4765, allocations: 16 kB / 0.5998 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.4769, allocations: 27.98 kB / 0.5998 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.477, allocations: 51.81 kB / 0.5998 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.477, allocations: 20 kB / 0.5999 GB, free: 8.246 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.4781, allocations: 0.7635 MB / 0.6006 GB, free: 7.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4781, allocations: 8 kB / 0.6006 GB, free: 7.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001298/0.4794, allocations: 292 kB / 0.6009 GB, free: 7.184 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.00182/0.4812, allocations: 1.674 MB / 0.6025 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.483, allocations: 1.101 MB / 0.6036 GB, free: 4.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.483, allocations: 0 / 0.6036 GB, free: 4.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.4836, allocations: 423.2 kB / 0.604 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.4846, allocations: 192.6 kB / 0.6042 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.4999, allocations: 11.41 MB / 0.6153 GB, free: 7.238 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.5013, allocations: 1.454 MB / 0.6168 GB, free: 5.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009676/0.5023, allocations: 401.6 kB / 0.6171 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.503, allocations: 0.5852 MB / 0.6177 GB, free: 4.766 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.503, allocations: 0 / 0.6177 GB, free: 4.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/0.5577, allocations: 23.22 MB / 0.6404 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.21, allocations: 11.98 kB / 0.6404 GB, free: 13.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > 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