Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.001397/0.001397, allocations: 120 kB / 18.45 MB, free: 4.605 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.00139/0.00139, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 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 1.395/1.395, allocations: 207.6 MB / 231.8 MB, free: 4.199 MB / 174.1 MB " [Timeout remaining time 179] 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.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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 55.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09144, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01091/0.1023, allocations: 9.072 MB / 400.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005503/0.1078, allocations: 2.675 MB / 403.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009117/0.1088, allocations: 51.88 kB / 403.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.1124, allocations: 1.845 MB / 405 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.1158, allocations: 1.346 MB / 406.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.1163, allocations: 211.7 kB / 406.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.1198, allocations: 2.371 MB / 409 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.1221, allocations: 1.797 MB / 410.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.1238, allocations: 1 MB / 411.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/0.1271, allocations: 2.458 MB / 414.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005328/0.1276, allocations: 191.9 kB / 414.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1286, allocations: 0.4955 MB / 414.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.13, allocations: 1.34 MB / 416.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.1318, allocations: 1.591 MB / 417.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005573/0.1374, allocations: 4.881 MB / 422.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1374, allocations: 0 / 422.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1374, allocations: 0 / 422.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.1375, allocations: 0 / 422.7 MB, free: 9.266 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.007103/0.1446, allocations: 3.733 MB / 426.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1447, allocations: 16.03 kB / 426.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00078/0.1454, allocations: 0.5345 MB / 427 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.1506, allocations: 1.675 MB / 428.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.1544, allocations: 1.593 MB / 430.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.1546, allocations: 163.7 kB / 430.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.155, allocations: 191.9 kB / 430.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.1657, allocations: 6.99 MB / 437.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/0.1658, allocations: 27.75 kB / 437.6 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.166, allocations: 91.89 kB / 437.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.1684, allocations: 1.555 MB / 439.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.1789, allocations: 5.501 MB / 444.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2048/0.3837, allocations: 27.17 MB / 471.9 MB, free: 42.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.3864, allocations: 1.586 MB / 473.5 MB, free: 41.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.387, allocations: 480.6 kB / 474 MB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003946/0.3909, allocations: 2.679 MB / 476.7 MB, free: 40.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.391, allocations: 50.36 kB / 476.7 MB, free: 40.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.391, allocations: 3.75 kB / 476.7 MB, free: 40.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003552/0.3945, allocations: 1.766 MB / 478.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3946, allocations: 218.3 kB / 478.7 MB, free: 39.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.3988, allocations: 3.675 MB / 482.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.3989, allocations: 33.7 kB / 482.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.4002, allocations: 2.802 MB / 485.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.4004, allocations: 404.7 kB / 485.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008497/0.4013, allocations: 0.9647 MB / 486.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.4013, allocations: 301.1 kB / 486.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4029, allocations: 1.208 MB / 488.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.4055, allocations: 4.522 MB / 492.6 MB, free: 30.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.41, allocations: 6.303 MB / 498.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-05/0.41, allocations: 34.19 kB / 498.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006247/0.4162, allocations: 5.456 MB / 0.4926 GB, free: 21.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.4163, allocations: 71.78 kB / 0.4926 GB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/0.4164, allocations: 116.8 kB / 0.4927 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.843e-05/0.4165, allocations: 157.7 kB / 0.4929 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.4187, allocations: 1.08 MB / 0.494 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001054/0.4188, allocations: 239.1 kB / 0.4942 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/0.4216, allocations: 0.6969 MB / 0.4949 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.4219, allocations: 312 kB / 0.4952 GB, free: 19.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.4236, allocations: 1.722 MB / 0.4968 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.4241, allocations: 317.8 kB / 0.4971 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/0.4248, allocations: 499.9 kB / 0.4976 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/0.4248, allocations: 23.94 kB / 0.4976 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.4248, allocations: 0.875 kB / 0.4976 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4249, allocations: 7.984 kB / 0.4977 GB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.43, allocations: 3.151 MB / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.43, allocations: 8.062 kB / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.4305, allocations: 103.8 kB / 0.5008 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4305, allocations: 8 kB / 0.5008 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.4305, allocations: 18.12 kB / 0.5009 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4305, allocations: 8 kB / 0.5009 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4305, allocations: 17.34 kB / 0.5009 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.4322, allocations: 2.228 MB / 0.5031 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/0.433, allocations: 434.7 kB / 0.5035 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.4333, allocations: 23.94 kB / 0.5035 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.4341, allocations: 31.97 kB / 0.5035 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.4341, allocations: 51.83 kB / 0.5036 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.4342, allocations: 35.98 kB / 0.5036 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002582/0.4368, allocations: 2.337 MB / 0.5059 GB, free: 8.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4368, allocations: 0 / 0.5059 GB, free: 8.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003654/0.4404, allocations: 0.8137 MB / 0.5067 GB, free: 7.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.4425, allocations: 2.853 MB / 0.5095 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.4462, allocations: 2.707 MB / 0.5121 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4462, allocations: 0 / 0.5121 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.4467, allocations: 400.4 kB / 0.5125 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.449, allocations: 386 kB / 0.5129 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06191/0.5109, allocations: 33.25 MB / 0.5453 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004212/0.5151, allocations: 2.682 MB / 0.548 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003575/0.5187, allocations: 1.494 MB / 0.5494 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002157/0.5208, allocations: 1.472 MB / 0.5509 GB, free: 5.305 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5208, allocations: 0 / 0.5509 GB, free: 5.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/0.6209, allocations: 47.75 MB / 0.5975 GB, free: 5.492 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.22, allocations: 3.984 kB / 0.5975 GB, free: 5.488 MB / 478.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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: 20.128026763908565]