Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001053/0.001053, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001078/0.001078, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8815/0.8815, allocations: 158.6 MB / 185 MB, free: 2.547 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1346/0.1346, allocations: 32.38 MB / 269.6 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 406.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.194e-05, allocations: 5.938 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006281/0.006303, allocations: 7.691 MB / 414.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.01162, allocations: 3.27 MB / 417.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.01244, allocations: 51.75 kB / 417.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.01407, allocations: 1.409 MB / 419.3 MB, free: 5.734 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.01598, allocations: 0.9877 MB / 420.3 MB, free: 4.742 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.01679, allocations: 0.5768 MB / 420.8 MB, free: 4.164 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.01865, allocations: 1.998 MB / 422.8 MB, free: 2.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.02112, allocations: 1.518 MB / 424.4 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.02263, allocations: 1.033 MB / 425.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.02396, allocations: 0.9976 MB / 426.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.02417, allocations: 144 kB / 426.5 MB, free: 14.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.02496, allocations: 0.5966 MB / 427.1 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004954/0.02545, allocations: 0.7948 MB / 427.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.02592, allocations: 0.5415 MB / 428.5 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.02814, allocations: 2.609 MB / 431.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02815, allocations: 0 / 431.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02815, allocations: 0 / 431.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.02817, allocations: 0 / 431.1 MB, free: 9.875 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.002213/0.03038, allocations: 2.045 MB / 433.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.03042, allocations: 8.031 kB / 433.1 MB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.03062, allocations: 241.5 kB / 433.4 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.03129, allocations: 315.5 kB / 433.7 MB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.0325, allocations: 1.224 MB / 434.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.03255, allocations: 102.8 kB / 435 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.03267, allocations: 120.3 kB / 435.1 MB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.03589, allocations: 3.034 MB / 438.1 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.03592, allocations: 19.81 kB / 438.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.03601, allocations: 59.97 kB / 438.2 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/0.03633, allocations: 430 kB / 438.6 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.03887, allocations: 2.148 MB / 440.8 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.04626, allocations: 10.43 MB / 451.2 MB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.04832, allocations: 1.254 MB / 452.5 MB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.04866, allocations: 375.1 kB / 452.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.05067, allocations: 2.07 MB / 454.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.0507, allocations: 43.05 kB / 454.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.0507, allocations: 0 / 454.9 MB, free: 1.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.006522/0.05723, allocations: 3.871 MB / 458.8 MB, free: 13.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.05727, allocations: 81.61 kB / 458.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.05844, allocations: 1.46 MB / 460.4 MB, free: 11.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.05846, allocations: 37.7 kB / 460.4 MB, free: 11.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.05892, allocations: 0.9702 MB / 461.4 MB, free: 10.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.05904, allocations: 234.1 kB / 461.6 MB, free: 10.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.05927, allocations: 307.3 kB / 461.9 MB, free: 10.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.05934, allocations: 305.1 kB / 462.2 MB, free: 10 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.05973, allocations: 407.7 kB / 462.6 MB, free: 9.605 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.06056, allocations: 1.272 MB / 463.9 MB, free: 7.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.06196, allocations: 1.792 MB / 465.7 MB, free: 5.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.06197, allocations: 8 kB / 465.7 MB, free: 5.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001676/0.06365, allocations: 1.713 MB / 467.4 MB, free: 3.977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.06368, allocations: 20 kB / 467.4 MB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.0637, allocations: 28 kB / 467.4 MB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.06383, allocations: 84.83 kB / 467.5 MB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.06441, allocations: 360 kB / 467.9 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.06548, allocations: 1.761 MB / 469.6 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.06602, allocations: 99.91 kB / 469.7 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.06609, allocations: 88.09 kB / 469.8 MB, free: 1.434 MB / 442.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.000531/0.06662, allocations: 0.6401 MB / 470.4 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.06672, allocations: 131.1 kB / 470.6 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1693/0.236, allocations: 0.7012 MB / 471.3 MB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.236, allocations: 6.438 kB / 471.3 MB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.236, allocations: 3.75 kB / 471.3 MB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.2361, allocations: 2.578 kB / 471.3 MB, free: 98.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2384, allocations: 2.17 MB / 473.5 MB, free: 98.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2384, allocations: 3.094 kB / 473.5 MB, free: 98.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.2386, allocations: 99.84 kB / 473.6 MB, free: 98.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.2387, allocations: 58.03 kB / 473.6 MB, free: 98.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.2387, allocations: 15.09 kB / 473.6 MB, free: 98.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/0.2394, allocations: 1.833 MB / 475.5 MB, free: 96.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2394, allocations: 7.219 kB / 475.5 MB, free: 96.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.2402, allocations: 1.106 MB / 476.6 MB, free: 96.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.2404, allocations: 173.3 kB / 476.7 MB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.2404, allocations: 20.88 kB / 476.8 MB, free: 96.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2407, allocations: 51.16 kB / 476.8 MB, free: 96.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.2407, allocations: 52.06 kB / 476.9 MB, free: 96.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2407, allocations: 19.88 kB / 476.9 MB, free: 96.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006415/0.2414, allocations: 0.9218 MB / 477.8 MB, free: 95.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2414, allocations: 0 / 477.8 MB, free: 95.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008698/0.2423, allocations: 369 kB / 478.2 MB, free: 95.79 MB / 442.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.0009722/0.2432, allocations: 1.687 MB / 479.9 MB, free: 94.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009436/0.2442, allocations: 1.052 MB / 480.9 MB, free: 94.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2442, allocations: 3.938 kB / 480.9 MB, free: 94.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.2444, allocations: 394.4 kB / 481.3 MB, free: 94.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.245, allocations: 187.2 kB / 481.5 MB, free: 94.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/0.2527, allocations: 12.13 MB / 493.6 MB, free: 87.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.2532, allocations: 0.8647 MB / 494.5 MB, free: 86.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.2537, allocations: 418.8 kB / 494.9 MB, free: 86.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.2541, allocations: 0.5855 MB / 495.5 MB, free: 86.32 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2541, allocations: 0 / 495.5 MB, free: 86.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.2895, allocations: 25.79 MB / 0.509 GB, free: 77.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.689, allocations: 0 / 0.509 GB, free: 77.91 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.871290260925889]