Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.9 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003117/0.003117, allocations: 64.55 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1406, allocations: 64.27 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01257/0.1532, allocations: 8.715 MB / 0.5515 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1633, allocations: 3.462 MB / 0.5549 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.1653, allocations: 43.88 kB / 0.5549 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.1689, allocations: 1.378 MB / 0.5563 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.1722, allocations: 0.9573 MB / 0.5572 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1736, allocations: 0.5186 MB / 0.5577 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.1768, allocations: 1.675 MB / 0.5594 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.1791, allocations: 1.401 MB / 0.5607 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.1805, allocations: 0.662 MB / 0.5614 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.1823, allocations: 0.9502 MB / 0.5623 GB, free: 224 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.1828, allocations: 136 kB / 0.5624 GB, free: 88 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1844, allocations: 0.6124 MB / 0.563 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.1854, allocations: 0.7518 MB / 0.5638 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.187, allocations: 0.8315 MB / 0.5646 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.1912, allocations: 2.514 MB / 0.567 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1912, allocations: 4 kB / 0.567 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1912, allocations: 0 / 0.567 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.1913, allocations: 0 / 0.567 GB, free: 11.36 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.005225/0.1966, allocations: 2.065 MB / 0.5691 GB, free: 9.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.1966, allocations: 16.03 kB / 0.5691 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000503/0.1971, allocations: 245.5 kB / 0.5693 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1984, allocations: 287.5 kB / 0.5696 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.2015, allocations: 1.395 MB / 0.5709 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.2016, allocations: 94.39 kB / 0.571 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.2018, allocations: 131.9 kB / 0.5712 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005941/0.2077, allocations: 2.98 MB / 0.5741 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.2078, allocations: 19.86 kB / 0.5741 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.208, allocations: 59.95 kB / 0.5742 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006384/0.2086, allocations: 430 kB / 0.5746 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005007/0.2136, allocations: 2.16 MB / 0.5767 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.2292, allocations: 10.71 MB / 0.5871 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.2331, allocations: 1.191 MB / 0.5883 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.2337, allocations: 363.3 kB / 0.5886 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004942/0.2387, allocations: 3.005 MB / 0.5916 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.2387, allocations: 42.94 kB / 0.5916 GB, free: 1.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.655e-06/0.2387, allocations: 0 / 0.5916 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01184/0.2506, allocations: 3.771 MB / 0.5953 GB, free: 13.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.2507, allocations: 89.66 kB / 0.5954 GB, free: 13.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.2526, allocations: 1.202 MB / 0.5966 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2526, allocations: 37.7 kB / 0.5966 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007877/0.2534, allocations: 0.9663 MB / 0.5975 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.2536, allocations: 230.2 kB / 0.5978 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.254, allocations: 311.3 kB / 0.598 GB, free: 10.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2542, allocations: 301.1 kB / 0.5983 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.2548, allocations: 411.7 kB / 0.5987 GB, free: 9.855 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.2562, allocations: 1.246 MB / 0.5999 GB, free: 8.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.2585, allocations: 1.795 MB / 0.6017 GB, free: 5.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.2585, allocations: 8 kB / 0.6017 GB, free: 5.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003028/0.2616, allocations: 1.711 MB / 0.6034 GB, free: 4.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.2616, allocations: 16 kB / 0.6034 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/0.2617, allocations: 31.98 kB / 0.6034 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.2619, allocations: 89.64 kB / 0.6035 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.263, allocations: 351.3 kB / 0.6038 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.265, allocations: 1.881 MB / 0.6057 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.266, allocations: 63.98 kB / 0.6057 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.2661, allocations: 84 kB / 0.6058 GB, free: 1.613 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.001019/0.2672, allocations: 0.6519 MB / 0.6065 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.2674, allocations: 119.2 kB / 0.6066 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.2689, allocations: 0.7068 MB / 0.6073 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.2689, allocations: 8 kB / 0.6073 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2689, allocations: 3.984 kB / 0.6073 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2689, allocations: 0 / 0.6073 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3069/0.5758, allocations: 2.222 MB / 0.6094 GB, free: 59.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5758, allocations: 4.281 kB / 0.6094 GB, free: 59.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.5762, allocations: 96.11 kB / 0.6095 GB, free: 59.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.5764, allocations: 72.22 kB / 0.6096 GB, free: 59.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.5764, allocations: 14.94 kB / 0.6096 GB, free: 59.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.5779, allocations: 1.94 MB / 0.6115 GB, free: 58.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.5779, allocations: 16.44 kB / 0.6115 GB, free: 58.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5794, allocations: 1.102 MB / 0.6126 GB, free: 57.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.5796, allocations: 185.3 kB / 0.6128 GB, free: 57.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5797, allocations: 16.91 kB / 0.6128 GB, free: 57.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.5801, allocations: 23.14 kB / 0.6128 GB, free: 57.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.5801, allocations: 50.12 kB / 0.6129 GB, free: 57.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.5802, allocations: 22.11 kB / 0.6129 GB, free: 57.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.5813, allocations: 0.7646 MB / 0.6136 GB, free: 57.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5813, allocations: 0 / 0.6136 GB, free: 57.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5827, allocations: 294.7 kB / 0.6139 GB, free: 57.04 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.001635/0.5843, allocations: 1.673 MB / 0.6156 GB, free: 55.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.5861, allocations: 1.058 MB / 0.6166 GB, free: 55.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5861, allocations: 3 kB / 0.6166 GB, free: 55.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.5866, allocations: 400.4 kB / 0.617 GB, free: 55.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.5875, allocations: 185.6 kB / 0.6171 GB, free: 55.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.602, allocations: 11.48 MB / 0.6284 GB, free: 48.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.6032, allocations: 1.446 MB / 0.6298 GB, free: 47.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001073/0.6042, allocations: 411.6 kB / 0.6302 GB, free: 47.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.6047, allocations: 0.5815 MB / 0.6307 GB, free: 46.88 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6047, allocations: 0 / 0.6307 GB, free: 46.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.6556, allocations: 23.27 MB / 0.6535 GB, free: 29.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.78, allocations: 14.81 kB / 0.6535 GB, free: 29.12 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.208652057684958]