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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002205/0.002205, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002342/0.002342, allocations: 214 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.88 kB / 0.4962 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3842, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01005/0.3942, allocations: 7.648 MB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.4011, allocations: 3.275 MB / 0.5714 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009896/0.4021, allocations: 51.75 kB / 0.5714 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.4049, allocations: 1.336 MB / 0.5727 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.4074, allocations: 0.9301 MB / 0.5736 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4086, allocations: 0.5303 MB / 0.5741 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.4111, allocations: 1.721 MB / 0.5758 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.4131, allocations: 1.249 MB / 0.577 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.4143, allocations: 0.666 MB / 0.5777 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.4158, allocations: 0.8799 MB / 0.5786 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.4162, allocations: 140 kB / 0.5787 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4174, allocations: 0.5616 MB / 0.5792 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008888/0.4183, allocations: 0.748 MB / 0.58 GB, free: 192 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008271/0.4191, allocations: 0.6489 MB / 0.5806 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.422, allocations: 2.498 MB / 0.583 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.422, allocations: 0 / 0.583 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.422, allocations: 3.938 kB / 0.583 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.422, allocations: 4 kB / 0.583 GB, free: 13.02 MB / 430.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.003985/0.426, allocations: 1.979 MB / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4261, allocations: 8.031 kB / 0.585 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003235/0.4264, allocations: 249.5 kB / 0.5852 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.4276, allocations: 283.5 kB / 0.5855 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.4304, allocations: 1.222 MB / 0.5867 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.4305, allocations: 102.4 kB / 0.5868 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.4307, allocations: 123.9 kB / 0.5869 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/0.4365, allocations: 3.05 MB / 0.5899 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.4365, allocations: 15.89 kB / 0.5899 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4367, allocations: 59.91 kB / 0.59 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006493/0.4373, allocations: 434 kB / 0.5904 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/0.4426, allocations: 2.175 MB / 0.5925 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.4574, allocations: 10.25 MB / 0.6025 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.4615, allocations: 1.191 MB / 0.6037 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.4621, allocations: 386.9 kB / 0.604 GB, free: 6.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/0.4662, allocations: 2.003 MB / 0.606 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4662, allocations: 39 kB / 0.606 GB, free: 4.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.344e-06/0.4662, allocations: 0 / 0.606 GB, free: 4.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01224/0.4784, allocations: 3.59 MB / 0.6095 GB, free: 1.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.4785, allocations: 85.61 kB / 0.6096 GB, free: 1.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.4803, allocations: 1.244 MB / 0.6108 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.4804, allocations: 33.7 kB / 0.6109 GB, free: 15.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.4812, allocations: 0.9585 MB / 0.6118 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.4814, allocations: 234.2 kB / 0.612 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.4818, allocations: 315.3 kB / 0.6123 GB, free: 14.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4819, allocations: 301.1 kB / 0.6126 GB, free: 14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.4826, allocations: 423.7 kB / 0.613 GB, free: 13.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4841, allocations: 1.271 MB / 0.6143 GB, free: 11.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.4864, allocations: 1.802 MB / 0.616 GB, free: 9.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.4864, allocations: 8 kB / 0.616 GB, free: 9.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002811/0.4892, allocations: 1.723 MB / 0.6177 GB, free: 7.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.4893, allocations: 16 kB / 0.6177 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.4893, allocations: 32 kB / 0.6178 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.4895, allocations: 84.88 kB / 0.6178 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4906, allocations: 363.3 kB / 0.6182 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.4925, allocations: 1.766 MB / 0.6199 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.4934, allocations: 67.98 kB / 0.62 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4935, allocations: 84 kB / 0.62 GB, free: 5.418 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.001063/0.4946, allocations: 0.6361 MB / 0.6207 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4948, allocations: 123.2 kB / 0.6208 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.495, allocations: 139.7 kB / 0.6209 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4951, allocations: 8 kB / 0.6209 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4951, allocations: 0 / 0.6209 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4951, allocations: 0 / 0.6209 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.4988, allocations: 2.142 MB / 0.623 GB, free: 2.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4988, allocations: 11.92 kB / 0.623 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.4992, allocations: 95.83 kB / 0.6231 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4994, allocations: 69.3 kB / 0.6232 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.4994, allocations: 16 kB / 0.6232 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.5012, allocations: 1.824 MB / 0.625 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.5013, allocations: 7.938 kB / 0.625 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.5029, allocations: 1.115 MB / 0.6261 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.5031, allocations: 115.1 kB / 0.6262 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5033, allocations: 19.98 kB / 0.6262 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.5036, allocations: 23.98 kB / 0.6262 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.5037, allocations: 47.92 kB / 0.6263 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5038, allocations: 20 kB / 0.6263 GB, free: 14.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.5049, allocations: 0.7635 MB / 0.627 GB, free: 13.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5049, allocations: 3.938 kB / 0.627 GB, free: 13.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001425/0.5064, allocations: 300.1 kB / 0.6273 GB, free: 13.66 MB / 478.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.002233/0.5086, allocations: 1.676 MB / 0.629 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.5105, allocations: 1.061 MB / 0.63 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5106, allocations: 4 kB / 0.63 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.5112, allocations: 395 kB / 0.6304 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5122, allocations: 189.7 kB / 0.6306 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.5297, allocations: 11.51 MB / 0.6418 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.5309, allocations: 0.8591 MB / 0.6426 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.5319, allocations: 409.6 kB / 0.643 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/0.5326, allocations: 0.5735 MB / 0.6436 GB, free: 11.81 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5327, allocations: 0 / 0.6436 GB, free: 11.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/0.6014, allocations: 24 MB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.94, allocations: 19.61 kB / 0.6671 GB, free: 4.094 MB / 0.4981 GB " [Timeout remaining time 647] (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 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.20808045240119]