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.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.0009135/0.0009135, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008829/0.0008829, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8769/0.8769, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2602/0.2602, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 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.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_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 1.663e-06/1.663e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.852e-05, allocations: 2.844 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2096/0.2096, allocations: 7.644 MB / 447.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.2137, allocations: 3.276 MB / 450.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.2142, allocations: 53.28 kB / 450.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2156, allocations: 1.413 MB / 452 MB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2168, allocations: 0.9635 MB / 452.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.2174, allocations: 0.5561 MB / 453.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2185, allocations: 2.058 MB / 455.6 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009069/0.2194, allocations: 1.508 MB / 457.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.2201, allocations: 1.023 MB / 458.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006862/0.2208, allocations: 0.9874 MB / 459.1 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2209, allocations: 142.2 kB / 459.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.2214, allocations: 0.5629 MB / 459.8 MB, free: 37.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.2218, allocations: 0.7866 MB / 460.6 MB, free: 37.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.2221, allocations: 0.5404 MB / 461.1 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2235, allocations: 2.567 MB / 463.7 MB, free: 35.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2235, allocations: 0 / 463.7 MB, free: 35.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2235, allocations: 0 / 463.7 MB, free: 35.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.2235, allocations: 0 / 463.7 MB, free: 35.86 MB / 410.7 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.002045/0.2256, allocations: 2.019 MB / 465.7 MB, free: 34.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2256, allocations: 9.5 kB / 465.7 MB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.2258, allocations: 247.4 kB / 465.9 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.2265, allocations: 308.5 kB / 466.2 MB, free: 34.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2275, allocations: 1.07 MB / 467.3 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.2276, allocations: 95.36 kB / 467.4 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.2277, allocations: 121.2 kB / 467.5 MB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.2307, allocations: 3.053 MB / 470.6 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.2307, allocations: 16.92 kB / 470.6 MB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.2308, allocations: 60.53 kB / 470.7 MB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/0.2312, allocations: 433.5 kB / 471.1 MB, free: 32.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.2339, allocations: 2.16 MB / 473.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0063/0.2402, allocations: 10.35 MB / 483.6 MB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.2425, allocations: 1.283 MB / 484.9 MB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.2428, allocations: 377.3 kB / 485.2 MB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/0.2451, allocations: 2.079 MB / 487.3 MB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2451, allocations: 43.16 kB / 487.4 MB, free: 23.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.814e-06/0.2451, allocations: 0 / 487.4 MB, free: 23.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007112/0.2522, allocations: 3.802 MB / 491.2 MB, free: 21.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2523, allocations: 87.66 kB / 491.2 MB, free: 21.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.2535, allocations: 1.395 MB / 492.6 MB, free: 21.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2535, allocations: 32.45 kB / 492.7 MB, free: 21.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.2539, allocations: 0.9694 MB / 493.6 MB, free: 20.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.254, allocations: 230.6 kB / 493.9 MB, free: 20.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.2542, allocations: 310 kB / 494.2 MB, free: 20.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.635e-05/0.2543, allocations: 301.8 kB / 494.5 MB, free: 19.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.2547, allocations: 414 kB / 494.9 MB, free: 19.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.2555, allocations: 1.267 MB / 496.1 MB, free: 18.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.2567, allocations: 1.806 MB / 497.9 MB, free: 16.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.2567, allocations: 9.312 kB / 498 MB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001764/0.2585, allocations: 1.719 MB / 499.7 MB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.2585, allocations: 18.81 kB / 499.7 MB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.2585, allocations: 30.5 kB / 499.7 MB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2587, allocations: 86.45 kB / 499.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.2594, allocations: 356.5 kB / 0.4884 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009467/0.2603, allocations: 1.761 MB / 0.4902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.2609, allocations: 101.1 kB / 0.4902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.261, allocations: 89.91 kB / 0.4903 GB, free: 14.41 MB / 410.7 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.0006692/0.2617, allocations: 0.6396 MB / 0.491 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2618, allocations: 119.6 kB / 0.4911 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2619, allocations: 138.5 kB / 0.4912 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2619, allocations: 5.656 kB / 0.4912 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2619, allocations: 1.797 kB / 0.4912 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2619, allocations: 6.797 kB / 0.4912 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.2643, allocations: 2.172 MB / 0.4933 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2643, allocations: 4.531 kB / 0.4933 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2645, allocations: 104.1 kB / 0.4934 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.2647, allocations: 65.81 kB / 0.4935 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2647, allocations: 15.58 kB / 0.4935 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008678/0.2656, allocations: 1.829 MB / 0.4953 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2656, allocations: 8.297 kB / 0.4953 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2667, allocations: 1.106 MB / 0.4964 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.2668, allocations: 127.4 kB / 0.4965 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.2669, allocations: 13.05 kB / 0.4965 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2672, allocations: 44.03 kB / 0.4966 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.2672, allocations: 56.92 kB / 0.4966 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.2673, allocations: 20.77 kB / 0.4966 GB, free: 10.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008722/0.2681, allocations: 0.8831 MB / 0.4975 GB, free: 10.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2681, allocations: 0 / 0.4975 GB, free: 10.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009308/0.2691, allocations: 351.1 kB / 0.4978 GB, free: 10.16 MB / 410.7 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.001437/0.2705, allocations: 1.7 MB / 0.4995 GB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.2719, allocations: 1.067 MB / 0.5005 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.272, allocations: 1.406 kB / 0.5005 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.2723, allocations: 385 kB / 0.5009 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.273, allocations: 192.2 kB / 0.5011 GB, free: 8.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.283, allocations: 11.93 MB / 0.5127 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.2837, allocations: 0.8591 MB / 0.5136 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006241/0.2844, allocations: 417.5 kB / 0.514 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.2849, allocations: 0.5862 MB / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2849, allocations: 0 / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.3313, allocations: 25.24 MB / 0.5392 GB, free: 1.543 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.994, allocations: 7.156 kB / 0.5392 GB, free: 1.539 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.16935964114964]