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.00149/0.001491, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.9 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.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 71.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3717, 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.009844/0.3816, allocations: 8.646 MB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.3901, allocations: 3.464 MB / 0.5423 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.3921, allocations: 49.31 kB / 0.5424 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.3953, allocations: 1.36 MB / 0.5437 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.3987, allocations: 0.9037 MB / 0.5446 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4002, allocations: 0.52 MB / 0.5451 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.4031, allocations: 1.737 MB / 0.5468 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.406, allocations: 1.649 MB / 0.5484 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.4074, allocations: 0.6581 MB / 0.5491 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.409, allocations: 0.8841 MB / 0.5499 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.4095, allocations: 148 kB / 0.5501 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.411, allocations: 0.5656 MB / 0.5506 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.4119, allocations: 0.7325 MB / 0.5513 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4133, allocations: 0.8354 MB / 0.5521 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.4165, allocations: 2.472 MB / 0.5546 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4165, allocations: 0 / 0.5546 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4165, allocations: 0 / 0.5546 GB, free: 9.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.016e-05/0.4166, allocations: 0 / 0.5546 GB, free: 9.07 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.004677/0.4213, allocations: 2.013 MB / 0.5565 GB, free: 7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4213, allocations: 12.03 kB / 0.5565 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005201/0.4219, allocations: 241.5 kB / 0.5568 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.4232, allocations: 278.5 kB / 0.557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.4259, allocations: 1.278 MB / 0.5583 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.426, allocations: 98.39 kB / 0.5584 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.4263, allocations: 131.9 kB / 0.5585 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/0.4321, allocations: 3 MB / 0.5614 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.4321, allocations: 7.938 kB / 0.5614 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4323, allocations: 59.97 kB / 0.5615 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006174/0.4329, allocations: 430 kB / 0.5619 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/0.4378, allocations: 2.183 MB / 0.564 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.4512, allocations: 10.69 MB / 0.5745 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/0.4552, allocations: 1.254 MB / 0.5757 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.4558, allocations: 415.1 kB / 0.5761 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.4601, allocations: 3.076 MB / 0.5791 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4602, allocations: 39 kB / 0.5791 GB, free: 15.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.4602, allocations: 0 / 0.5791 GB, free: 15.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.4722, allocations: 3.791 MB / 0.5828 GB, free: 11.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4723, allocations: 89.67 kB / 0.5829 GB, free: 11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4739, allocations: 1.19 MB / 0.5841 GB, free: 9.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.474, allocations: 33.7 kB / 0.5841 GB, free: 9.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.4747, allocations: 0.9317 MB / 0.585 GB, free: 8.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4749, allocations: 217.1 kB / 0.5852 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.4752, allocations: 319 kB / 0.5855 GB, free: 8.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.4753, allocations: 301.1 kB / 0.5858 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.476, allocations: 415.7 kB / 0.5862 GB, free: 7.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4772, allocations: 1.25 MB / 0.5874 GB, free: 5.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.4792, allocations: 1.806 MB / 0.5892 GB, free: 3.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.4792, allocations: 8 kB / 0.5892 GB, free: 3.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002728/0.482, allocations: 1.711 MB / 0.5909 GB, free: 1.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.482, allocations: 20 kB / 0.5909 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/0.4821, allocations: 28 kB / 0.5909 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.4823, allocations: 88.86 kB / 0.591 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4834, allocations: 355.3 kB / 0.5914 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.4851, allocations: 1.88 MB / 0.5932 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.4859, allocations: 71.97 kB / 0.5933 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4861, allocations: 84 kB / 0.5933 GB, free: 15.3 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.0008358/0.4869, allocations: 0.6479 MB / 0.594 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4871, allocations: 110.6 kB / 0.5941 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.4873, allocations: 135.6 kB / 0.5942 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4873, allocations: 4 kB / 0.5942 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.4874, allocations: 4 kB / 0.5942 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4874, allocations: 3.984 kB / 0.5942 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.4909, allocations: 2.239 MB / 0.5964 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.4909, allocations: 8.5 kB / 0.5964 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.4913, allocations: 111.8 kB / 0.5965 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.4915, allocations: 60.83 kB / 0.5966 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.4915, allocations: 16 kB / 0.5966 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.4931, allocations: 1.933 MB / 0.5985 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.4932, allocations: 7.938 kB / 0.5985 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.4947, allocations: 1.116 MB / 0.5996 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.495, allocations: 187.7 kB / 0.5998 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4951, allocations: 12 kB / 0.5998 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.4955, allocations: 27.92 kB / 0.5998 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4956, allocations: 47.95 kB / 0.5998 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.4956, allocations: 23.92 kB / 0.5999 GB, free: 8.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009913/0.4966, allocations: 0.7635 MB / 0.6006 GB, free: 7.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4966, allocations: 0 / 0.6006 GB, free: 7.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001284/0.4979, allocations: 292 kB / 0.6009 GB, free: 7.219 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.4998, allocations: 1.678 MB / 0.6025 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.5016, allocations: 1.097 MB / 0.6036 GB, free: 4.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5017, allocations: 8.062 kB / 0.6036 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.5023, allocations: 414.5 kB / 0.604 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5033, allocations: 189.7 kB / 0.6042 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.5196, allocations: 11.42 MB / 0.6153 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.5211, allocations: 1.454 MB / 0.6168 GB, free: 5.773 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009504/0.522, allocations: 409.6 kB / 0.6171 GB, free: 5.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.5227, allocations: 0.5735 MB / 0.6177 GB, free: 4.797 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5227, allocations: 0 / 0.6177 GB, free: 4.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.576, allocations: 23.22 MB / 0.6404 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.31, allocations: 16.05 kB / 0.6404 GB, free: 13.77 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