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.001501/0.001501, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001601/0.001601, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.228/0.228, allocations: 46.9 MB / 357.4 MB, free: 10.46 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.002231/0.002231, allocations: 71.88 kB / 0.4913 GB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 66 MB / 0.5557 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01091/0.1335, allocations: 8.683 MB / 0.5642 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00737/0.1409, allocations: 3.483 MB / 0.5676 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.142, allocations: 47.88 kB / 0.5676 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.1448, allocations: 1.382 MB / 0.569 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1471, allocations: 0.9323 MB / 0.5699 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1482, allocations: 0.5147 MB / 0.5704 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.1504, allocations: 1.722 MB / 0.5721 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.152, allocations: 1.386 MB / 0.5734 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.1528, allocations: 0.6581 MB / 0.5741 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1539, allocations: 0.9463 MB / 0.575 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.1542, allocations: 140 kB / 0.5751 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.1551, allocations: 0.5929 MB / 0.5757 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006903/0.1558, allocations: 0.7441 MB / 0.5764 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.1566, allocations: 0.8276 MB / 0.5772 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.1591, allocations: 2.487 MB / 0.5797 GB, free: 13.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1592, allocations: 4 kB / 0.5797 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1592, allocations: 4 kB / 0.5797 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.1592, allocations: 0 / 0.5797 GB, free: 13.46 MB / 446.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.003395/0.1626, allocations: 2.046 MB / 0.5817 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1626, allocations: 15.97 kB / 0.5817 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.1629, allocations: 249.5 kB / 0.5819 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.164, allocations: 279.6 kB / 0.5822 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.1664, allocations: 1.298 MB / 0.5835 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.1665, allocations: 98.38 kB / 0.5836 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.1667, allocations: 128 kB / 0.5837 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.172, allocations: 2.996 MB / 0.5866 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.1721, allocations: 19.83 kB / 0.5866 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1722, allocations: 51.97 kB / 0.5867 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/0.1728, allocations: 438 kB / 0.5871 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/0.1775, allocations: 2.171 MB / 0.5892 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2775/0.4549, allocations: 10.7 MB / 0.5997 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.459, allocations: 1.206 MB / 0.6008 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.4597, allocations: 373 kB / 0.6012 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004641/0.4644, allocations: 3.085 MB / 0.6042 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4644, allocations: 38.03 kB / 0.6042 GB, free: 26.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.4644, allocations: 3.375 kB / 0.6042 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.4763, allocations: 3.805 MB / 0.608 GB, free: 25.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4764, allocations: 88.73 kB / 0.608 GB, free: 25.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4784, allocations: 1.194 MB / 0.6092 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.4784, allocations: 35.86 kB / 0.6092 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.479, allocations: 0.9673 MB / 0.6102 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4791, allocations: 225.7 kB / 0.6104 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/0.4795, allocations: 314.5 kB / 0.6107 GB, free: 23.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.4795, allocations: 305.9 kB / 0.611 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.4802, allocations: 412.9 kB / 0.6114 GB, free: 23.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.4812, allocations: 1.247 MB / 0.6126 GB, free: 22.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.483, allocations: 1.809 MB / 0.6144 GB, free: 20.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.483, allocations: 8.625 kB / 0.6144 GB, free: 20.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002835/0.4858, allocations: 1.714 MB / 0.6161 GB, free: 19.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4858, allocations: 18.88 kB / 0.6161 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/0.4859, allocations: 31.45 kB / 0.6161 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.4861, allocations: 99.31 kB / 0.6162 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4872, allocations: 356.3 kB / 0.6165 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.4886, allocations: 1.864 MB / 0.6184 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4897, allocations: 74.77 kB / 0.6184 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4898, allocations: 89.36 kB / 0.6185 GB, free: 18.16 MB / 446.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.0009564/0.4908, allocations: 0.6376 MB / 0.6191 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4909, allocations: 117.6 kB / 0.6192 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.4912, allocations: 138.8 kB / 0.6194 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4912, allocations: 6.312 kB / 0.6194 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.4912, allocations: 5.031 kB / 0.6194 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4912, allocations: 2.766 kB / 0.6194 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.4949, allocations: 2.237 MB / 0.6216 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.495, allocations: 5.531 kB / 0.6216 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.4954, allocations: 103.6 kB / 0.6217 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.4955, allocations: 61.73 kB / 0.6217 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.4956, allocations: 19.97 kB / 0.6218 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.4969, allocations: 1.947 MB / 0.6237 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.4969, allocations: 3.688 kB / 0.6237 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4984, allocations: 1.133 MB / 0.6248 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4986, allocations: 179.9 kB / 0.6249 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4987, allocations: 19.84 kB / 0.625 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.4991, allocations: 23.16 kB / 0.625 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.4991, allocations: 48.52 kB / 0.625 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.4992, allocations: 21.41 kB / 0.6251 GB, free: 14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008864/0.5, allocations: 0.7589 MB / 0.6258 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5, allocations: 1.312 kB / 0.6258 GB, free: 13.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0016/0.5016, allocations: 293.9 kB / 0.6261 GB, free: 13.67 MB / 446.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.001986/0.5036, allocations: 1.683 MB / 0.6277 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.5057, allocations: 1.067 MB / 0.6288 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5057, allocations: 8.094 kB / 0.6288 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.5061, allocations: 395.5 kB / 0.6291 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.5071, allocations: 197.5 kB / 0.6293 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.5195, allocations: 11.47 MB / 0.6405 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.5206, allocations: 1.459 MB / 0.642 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.5216, allocations: 401.6 kB / 0.6423 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/0.5223, allocations: 0.5774 MB / 0.6429 GB, free: 14.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5223, allocations: 0 / 0.6429 GB, free: 14.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.5839, allocations: 23.15 MB / 0.6655 GB, free: 7.523 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.63, allocations: 0 / 0.6655 GB, free: 7.523 MB / 478.1 MB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.974003957118839]