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.001262/0.001262, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3943, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01108/0.4054, allocations: 8.647 MB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.4138, allocations: 3.461 MB / 0.5425 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.4162, allocations: 48.66 kB / 0.5425 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.4193, allocations: 1.365 MB / 0.5438 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.4225, allocations: 0.9026 MB / 0.5447 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.4239, allocations: 0.5212 MB / 0.5452 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.427, allocations: 1.737 MB / 0.5469 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.4291, allocations: 1.658 MB / 0.5485 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.4303, allocations: 0.6503 MB / 0.5492 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.4316, allocations: 0.888 MB / 0.55 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.4319, allocations: 140 kB / 0.5502 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4332, allocations: 0.5617 MB / 0.5507 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007827/0.434, allocations: 0.7247 MB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009932/0.435, allocations: 0.8354 MB / 0.5522 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.4385, allocations: 2.48 MB / 0.5547 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.4385, allocations: 4 kB / 0.5547 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4385, allocations: 0 / 0.5547 GB, free: 9.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.271e-05/0.4386, allocations: 0 / 0.5547 GB, free: 9.004 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.004181/0.4427, allocations: 2.062 MB / 0.5567 GB, free: 6.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4428, allocations: 8.031 kB / 0.5567 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.4431, allocations: 245.5 kB / 0.5569 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.4443, allocations: 279.6 kB / 0.5572 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.4468, allocations: 1.29 MB / 0.5585 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.4469, allocations: 94.39 kB / 0.5585 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.4471, allocations: 128 kB / 0.5587 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00588/0.453, allocations: 2.996 MB / 0.5616 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.4531, allocations: 19.83 kB / 0.5616 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.4532, allocations: 55.97 kB / 0.5617 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000651/0.4539, allocations: 434 kB / 0.5621 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005188/0.4591, allocations: 2.187 MB / 0.5642 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.4733, allocations: 10.7 MB / 0.5747 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.4775, allocations: 1.251 MB / 0.5759 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.4783, allocations: 419.1 kB / 0.5763 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004306/0.4826, allocations: 3.073 MB / 0.5793 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.4827, allocations: 38.98 kB / 0.5793 GB, free: 14.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.935e-06/0.4827, allocations: 0 / 0.5793 GB, free: 14.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01318/0.4959, allocations: 3.818 MB / 0.583 GB, free: 10.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.496, allocations: 81.67 kB / 0.5831 GB, free: 10.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.4982, allocations: 1.198 MB / 0.5843 GB, free: 9.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.4983, allocations: 37.64 kB / 0.5843 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/0.4992, allocations: 0.9664 MB / 0.5853 GB, free: 8.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.4995, allocations: 238.1 kB / 0.5855 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.5001, allocations: 303.4 kB / 0.5858 GB, free: 8.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5003, allocations: 301.1 kB / 0.5861 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.5011, allocations: 419.7 kB / 0.5865 GB, free: 7.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.5027, allocations: 1.25 MB / 0.5877 GB, free: 5.695 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.5053, allocations: 1.802 MB / 0.5895 GB, free: 3.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/0.5054, allocations: 8 kB / 0.5895 GB, free: 3.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003455/0.5088, allocations: 1.727 MB / 0.5912 GB, free: 1.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.5089, allocations: 18.5 kB / 0.5912 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/0.5089, allocations: 28 kB / 0.5912 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.5092, allocations: 84.83 kB / 0.5913 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5104, allocations: 355.8 kB / 0.5916 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.5124, allocations: 1.881 MB / 0.5935 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.5136, allocations: 67.98 kB / 0.5935 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5138, allocations: 84 kB / 0.5936 GB, free: 15.09 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.001175/0.515, allocations: 0.6401 MB / 0.5942 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.5153, allocations: 127.2 kB / 0.5943 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.5156, allocations: 135.7 kB / 0.5945 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5157, allocations: 11.98 kB / 0.5945 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.5157, allocations: 0 / 0.5945 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5157, allocations: 0 / 0.5945 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/0.5201, allocations: 2.243 MB / 0.5967 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5201, allocations: 4 kB / 0.5967 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.5206, allocations: 99.81 kB / 0.5968 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.5208, allocations: 69.25 kB / 0.5968 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.5209, allocations: 19.98 kB / 0.5969 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.5229, allocations: 1.937 MB / 0.5988 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-06/0.5229, allocations: 7.938 kB / 0.5988 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.5247, allocations: 1.12 MB / 0.5999 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.5251, allocations: 184.3 kB / 0.6 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.5254, allocations: 16 kB / 0.6 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.5258, allocations: 31.98 kB / 0.6001 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.5259, allocations: 47.88 kB / 0.6001 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.526, allocations: 20 kB / 0.6001 GB, free: 8.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.5273, allocations: 0.7596 MB / 0.6009 GB, free: 7.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5273, allocations: 0 / 0.6009 GB, free: 7.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001574/0.5289, allocations: 292 kB / 0.6012 GB, free: 6.992 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.002313/0.5312, allocations: 1.682 MB / 0.6028 GB, free: 5.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.5334, allocations: 1.108 MB / 0.6039 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5335, allocations: 0 / 0.6039 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.5341, allocations: 420.9 kB / 0.6043 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5355, allocations: 187 kB / 0.6045 GB, free: 3.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.5562, allocations: 11.49 MB / 0.6157 GB, free: 6.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.5581, allocations: 1.451 MB / 0.6171 GB, free: 5.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.5592, allocations: 409.5 kB / 0.6175 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/0.5601, allocations: 0.5774 MB / 0.6181 GB, free: 4.496 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5602, allocations: 0 / 0.6181 GB, free: 4.496 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/0.6294, allocations: 22.96 MB / 0.6405 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.72, allocations: 14.58 kB / 0.6405 GB, free: 13.72 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