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.001488/0.001488, allocations: 118.7 kB / 18.49 MB, free: 4.559 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.001636/0.001636, allocations: 212.7 kB / 21.46 MB, free: 1.602 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.576/1.576, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2502/0.2502, allocations: 46.91 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 79.88 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1683, allocations: 66.05 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01091/0.1792, allocations: 8.679 MB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008474/0.1877, allocations: 3.487 MB / 0.5681 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1894, allocations: 51.75 kB / 0.5681 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.1926, allocations: 1.382 MB / 0.5694 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.1956, allocations: 0.9222 MB / 0.5704 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.197, allocations: 0.5147 MB / 0.5709 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.2006, allocations: 1.738 MB / 0.5726 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.2028, allocations: 1.374 MB / 0.5739 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2042, allocations: 0.6698 MB / 0.5745 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.206, allocations: 0.9502 MB / 0.5755 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.2065, allocations: 140 kB / 0.5756 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.208, allocations: 0.589 MB / 0.5762 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.2092, allocations: 0.7441 MB / 0.5769 GB, free: 144 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.211, allocations: 0.8315 MB / 0.5777 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.2152, allocations: 2.483 MB / 0.5801 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2152, allocations: 0 / 0.5801 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2152, allocations: 4 kB / 0.5801 GB, free: 12.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.772e-05/0.2152, allocations: 3.938 kB / 0.5802 GB, free: 12.8 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.00401/0.2192, allocations: 2.054 MB / 0.5822 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.2193, allocations: 11.97 kB / 0.5822 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.232e-05/0.2193, allocations: 42.67 kB / 0.5822 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.2196, allocations: 241.5 kB / 0.5824 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.2209, allocations: 283.5 kB / 0.5827 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.2233, allocations: 1.302 MB / 0.584 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.2233, allocations: 86.47 kB / 0.5841 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.2236, allocations: 124 kB / 0.5842 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/0.2293, allocations: 3 MB / 0.5871 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.2294, allocations: 11.89 kB / 0.5871 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.2295, allocations: 63.97 kB / 0.5872 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006668/0.2302, allocations: 438 kB / 0.5876 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.2351, allocations: 2.175 MB / 0.5897 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/0.5755, allocations: 10.7 MB / 0.6002 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.5803, allocations: 1.201 MB / 0.6013 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/0.5812, allocations: 373.2 kB / 0.6017 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005324/0.5865, allocations: 3.093 MB / 0.6047 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5866, allocations: 37.92 kB / 0.6048 GB, free: 26.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.986e-06/0.5866, allocations: 0.75 kB / 0.6048 GB, free: 26.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01339/0.6, allocations: 3.811 MB / 0.6085 GB, free: 24.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.6, allocations: 88.02 kB / 0.6086 GB, free: 24.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.6019, allocations: 1.197 MB / 0.6097 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.6019, allocations: 36.14 kB / 0.6098 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.6025, allocations: 0.9632 MB / 0.6107 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6027, allocations: 224.2 kB / 0.6109 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.6031, allocations: 313.3 kB / 0.6112 GB, free: 23.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.6031, allocations: 301.7 kB / 0.6115 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.6038, allocations: 417.5 kB / 0.6119 GB, free: 22.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.6049, allocations: 1.247 MB / 0.6131 GB, free: 21.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.6068, allocations: 1.804 MB / 0.6149 GB, free: 20.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.6068, allocations: 7.812 kB / 0.6149 GB, free: 20.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002825/0.6097, allocations: 1.722 MB / 0.6166 GB, free: 19.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.6097, allocations: 21.47 kB / 0.6166 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/0.6097, allocations: 30.66 kB / 0.6166 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.61, allocations: 86.91 kB / 0.6167 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6111, allocations: 356.3 kB / 0.6171 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.6124, allocations: 1.874 MB / 0.6189 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.6134, allocations: 66.77 kB / 0.6189 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.6135, allocations: 85.73 kB / 0.619 GB, free: 17.59 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.00111/0.6146, allocations: 0.6418 MB / 0.6197 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6148, allocations: 126.5 kB / 0.6198 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.615, allocations: 137.8 kB / 0.6199 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.615, allocations: 5.375 kB / 0.6199 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.615, allocations: 1.625 kB / 0.6199 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.615, allocations: 3.891 kB / 0.6199 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.6184, allocations: 2.239 MB / 0.6221 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6184, allocations: 3.219 kB / 0.6221 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.6188, allocations: 98.64 kB / 0.6222 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.619, allocations: 67.77 kB / 0.6223 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.619, allocations: 15.38 kB / 0.6223 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.6203, allocations: 1.956 MB / 0.6242 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6203, allocations: 3.812 kB / 0.6242 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.6217, allocations: 1.117 MB / 0.6253 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.6219, allocations: 183.6 kB / 0.6255 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.622, allocations: 18.09 kB / 0.6255 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.6223, allocations: 25.17 kB / 0.6255 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.6224, allocations: 53.17 kB / 0.6255 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.6224, allocations: 20.45 kB / 0.6256 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008896/0.6233, allocations: 0.7553 MB / 0.6263 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6233, allocations: 1.156 kB / 0.6263 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001527/0.6248, allocations: 293 kB / 0.6266 GB, free: 13.06 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.001648/0.6265, allocations: 1.686 MB / 0.6282 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.6281, allocations: 1.072 MB / 0.6293 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6281, allocations: 4 kB / 0.6293 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.6286, allocations: 389.2 kB / 0.6297 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/0.6296, allocations: 187.4 kB / 0.6298 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.6418, allocations: 11.49 MB / 0.6411 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.6433, allocations: 1.447 MB / 0.6425 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.6444, allocations: 413.5 kB / 0.6429 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/0.6452, allocations: 0.5774 MB / 0.6434 GB, free: 13.45 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6452, allocations: 0 / 0.6434 GB, free: 13.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.7126, allocations: 23.2 MB / 0.6661 GB, free: 6.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.11, allocations: 14.42 kB / 0.6661 GB, free: 6.445 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/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: 17.13541324599646]