Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 46.91 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.89 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1388, allocations: 66 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01108/0.1499, allocations: 8.687 MB / 0.5639 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.1578, allocations: 3.491 MB / 0.5673 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1592, allocations: 55.75 kB / 0.5673 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.1624, allocations: 1.378 MB / 0.5687 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.1654, allocations: 0.9261 MB / 0.5696 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1667, allocations: 0.5108 MB / 0.5701 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002864/0.1696, allocations: 1.741 MB / 0.5718 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.1717, allocations: 1.382 MB / 0.5731 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.173, allocations: 0.666 MB / 0.5738 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.1747, allocations: 0.9424 MB / 0.5747 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.1751, allocations: 140 kB / 0.5748 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.1765, allocations: 0.6007 MB / 0.5754 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.1775, allocations: 0.7363 MB / 0.5761 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1786, allocations: 0.8315 MB / 0.5769 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.1815, allocations: 2.487 MB / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1815, allocations: 4 kB / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1815, allocations: 0 / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.1816, allocations: 0 / 0.5794 GB, free: 13.16 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.004108/0.1857, allocations: 2.05 MB / 0.5814 GB, free: 11.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1857, allocations: 16.03 kB / 0.5814 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.186, allocations: 241.5 kB / 0.5816 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.1872, allocations: 291.5 kB / 0.5819 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.1896, allocations: 1.298 MB / 0.5832 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.1897, allocations: 94.39 kB / 0.5833 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.1899, allocations: 128 kB / 0.5834 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005466/0.1953, allocations: 2.992 MB / 0.5863 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.1954, allocations: 19.83 kB / 0.5863 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.1955, allocations: 55.97 kB / 0.5864 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006598/0.1962, allocations: 442 kB / 0.5868 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/0.2012, allocations: 2.179 MB / 0.5889 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2684/0.4695, allocations: 10.7 MB / 0.5994 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.4739, allocations: 1.198 MB / 0.6005 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.4745, allocations: 376.3 kB / 0.6009 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00399/0.4785, allocations: 3.086 MB / 0.6039 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4785, allocations: 37.06 kB / 0.604 GB, free: 26.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.395e-06/0.4785, allocations: 0 / 0.604 GB, free: 26.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01298/0.4915, allocations: 3.808 MB / 0.6077 GB, free: 25.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4916, allocations: 88.02 kB / 0.6078 GB, free: 25.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.4935, allocations: 1.201 MB / 0.6089 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.4935, allocations: 35.3 kB / 0.609 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.4941, allocations: 0.9605 MB / 0.6099 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4943, allocations: 226.5 kB / 0.6101 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.4946, allocations: 318 kB / 0.6104 GB, free: 23.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.4947, allocations: 302.2 kB / 0.6107 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.4954, allocations: 415.4 kB / 0.6111 GB, free: 23.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.4965, allocations: 1.243 MB / 0.6123 GB, free: 21.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.4985, allocations: 1.805 MB / 0.6141 GB, free: 20.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.113e-05/0.4985, allocations: 8.875 kB / 0.6141 GB, free: 20.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003444/0.502, allocations: 1.726 MB / 0.6158 GB, free: 19.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.502, allocations: 17.69 kB / 0.6158 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/0.5021, allocations: 31.56 kB / 0.6158 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.5024, allocations: 85.86 kB / 0.6159 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5036, allocations: 356.4 kB / 0.6162 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.5051, allocations: 1.873 MB / 0.6181 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5062, allocations: 74.83 kB / 0.6181 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.5064, allocations: 90.05 kB / 0.6182 GB, free: 17.89 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.001182/0.5075, allocations: 0.6361 MB / 0.6189 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.5078, allocations: 123.6 kB / 0.619 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.5081, allocations: 137.7 kB / 0.6191 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5081, allocations: 11.34 kB / 0.6191 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.5081, allocations: 1.062 kB / 0.6191 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5081, allocations: 2.484 kB / 0.6191 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.5117, allocations: 2.234 MB / 0.6213 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5118, allocations: 4.438 kB / 0.6213 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.5121, allocations: 98.17 kB / 0.6214 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.5123, allocations: 66.56 kB / 0.6215 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.5123, allocations: 15.88 kB / 0.6215 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.5136, allocations: 1.943 MB / 0.6234 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5136, allocations: 13.09 kB / 0.6234 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5151, allocations: 1.12 MB / 0.6245 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.5154, allocations: 186.7 kB / 0.6247 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5155, allocations: 15.44 kB / 0.6247 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.5158, allocations: 27.91 kB / 0.6247 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.5159, allocations: 46.84 kB / 0.6247 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.516, allocations: 22.25 kB / 0.6248 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009111/0.5169, allocations: 0.7605 MB / 0.6255 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5169, allocations: 0 / 0.6255 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001553/0.5184, allocations: 291.2 kB / 0.6258 GB, free: 13.36 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.001602/0.52, allocations: 1.678 MB / 0.6274 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.5218, allocations: 1.073 MB / 0.6285 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5218, allocations: 3.938 kB / 0.6285 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.5223, allocations: 401.7 kB / 0.6289 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.5233, allocations: 184.8 kB / 0.629 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.5368, allocations: 11.48 MB / 0.6402 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.5382, allocations: 1.451 MB / 0.6417 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.5392, allocations: 405.6 kB / 0.6421 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/0.54, allocations: 0.5774 MB / 0.6426 GB, free: 14.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.54, allocations: 0 / 0.6426 GB, free: 14.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06866/0.6087, allocations: 23.17 MB / 0.6652 GB, free: 7.102 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.81, allocations: 4 kB / 0.6652 GB, free: 7.098 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.22363438620232]