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.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.001287/0.001287, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001413/0.001413, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.345/1.345, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 56.34 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2309, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008247/0.2391, allocations: 9.093 MB / 405.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.2441, allocations: 2.699 MB / 408.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2454, allocations: 57 kB / 408.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.2487, allocations: 1.858 MB / 410.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.2525, allocations: 1.355 MB / 411.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.2532, allocations: 222.4 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.2568, allocations: 2.373 MB / 414 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.2592, allocations: 1.745 MB / 415.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2611, allocations: 1.02 MB / 416.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.2648, allocations: 2.483 MB / 419.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007915/0.2656, allocations: 188.9 kB / 419.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.267, allocations: 0.4899 MB / 419.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.2686, allocations: 1.345 MB / 421.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.2706, allocations: 1.59 MB / 422.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.2768, allocations: 4.88 MB / 427.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2768, allocations: 4 kB / 427.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2768, allocations: 0 / 427.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001108/0.2769, allocations: 0 / 427.8 MB, free: 3.824 MB / 334.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.006621/0.2836, allocations: 3.658 MB / 431.4 MB, free: 116 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.2836, allocations: 19.98 kB / 431.4 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008388/0.2845, allocations: 0.5346 MB / 432 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.2895, allocations: 1.671 MB / 433.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.2926, allocations: 1.525 MB / 435.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2927, allocations: 151.8 kB / 435.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.293, allocations: 195.9 kB / 435.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009539/0.3026, allocations: 6.99 MB / 442.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/0.3026, allocations: 35.64 kB / 442.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.3029, allocations: 103.9 kB / 442.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.3051, allocations: 1.551 MB / 444.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/0.3146, allocations: 5.489 MB / 449.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03571/0.3503, allocations: 27.07 MB / 476.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.3532, allocations: 1.131 MB / 477.9 MB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/0.354, allocations: 474.4 kB / 478.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004413/0.3584, allocations: 2.222 MB / 480.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.3585, allocations: 50.48 kB / 480.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.817e-06/0.3585, allocations: 4 kB / 480.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.003983/0.3624, allocations: 1.765 MB / 482.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.3626, allocations: 209.6 kB / 482.6 MB, free: 11.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/0.3686, allocations: 3.678 MB / 486.3 MB, free: 7.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.3686, allocations: 37.7 kB / 486.3 MB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.3709, allocations: 2.796 MB / 489.1 MB, free: 4.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.3713, allocations: 417 kB / 489.5 MB, free: 4.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.3726, allocations: 0.9568 MB / 490.5 MB, free: 3.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3727, allocations: 301.1 kB / 490.8 MB, free: 3.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.3745, allocations: 1.208 MB / 492 MB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.3791, allocations: 4.526 MB / 496.5 MB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007387/0.3865, allocations: 6.308 MB / 0.491 GB, free: 3.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.263e-05/0.3865, allocations: 32 kB / 0.491 GB, free: 3.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009738/0.3963, allocations: 5.46 MB / 0.4964 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.3964, allocations: 56 kB / 0.4964 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/0.3966, allocations: 120 kB / 0.4965 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.3968, allocations: 156 kB / 0.4967 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.4001, allocations: 1.084 MB / 0.4978 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002191/0.4003, allocations: 231.1 kB / 0.498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/0.4038, allocations: 0.702 MB / 0.4987 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005979/0.4044, allocations: 316 kB / 0.499 GB, free: 11.43 MB / 430.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.002825/0.4072, allocations: 1.715 MB / 0.5006 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/0.4078, allocations: 313.8 kB / 0.5009 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4088, allocations: 498.3 kB / 0.5014 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.4088, allocations: 31.97 kB / 0.5014 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4088, allocations: 0 / 0.5014 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4089, allocations: 4 kB / 0.5014 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/0.4154, allocations: 3.118 MB / 0.5045 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4154, allocations: 4 kB / 0.5045 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.4159, allocations: 107.8 kB / 0.5046 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.4159, allocations: 11.94 kB / 0.5046 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.416, allocations: 19.98 kB / 0.5046 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.416, allocations: 4 kB / 0.5046 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.416, allocations: 12.27 kB / 0.5046 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.4187, allocations: 2.231 MB / 0.5068 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009185/0.4196, allocations: 361.7 kB / 0.5072 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.42, allocations: 28.14 kB / 0.5072 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/0.421, allocations: 35.91 kB / 0.5072 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4211, allocations: 43.81 kB / 0.5073 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.4212, allocations: 43.91 kB / 0.5073 GB, free: 2.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00395/0.4252, allocations: 2.337 MB / 0.5096 GB, free: 408 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4252, allocations: 0 / 0.5096 GB, free: 408 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004152/0.4293, allocations: 0.8107 MB / 0.5104 GB, free: 15.58 MB / 446.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.003448/0.4328, allocations: 2.852 MB / 0.5132 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004732/0.4375, allocations: 2.707 MB / 0.5158 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4375, allocations: 0 / 0.5158 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.4381, allocations: 408.2 kB / 0.5162 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.4405, allocations: 382.5 kB / 0.5166 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05061/0.4911, allocations: 33.24 MB / 0.549 GB, free: 3.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/0.4948, allocations: 2.687 MB / 0.5517 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003487/0.4983, allocations: 1.483 MB / 0.5531 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/0.5005, allocations: 1.472 MB / 0.5545 GB, free: 13.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5005, allocations: 7.938 kB / 0.5545 GB, free: 13.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2618/0.7623, allocations: 51.59 MB / 0.6049 GB, free: 142.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.61/20.37, allocations: 3.938 kB / 0.6049 GB, free: 142.2 MB / 494.1 MB " [Timeout remaining time 639] (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/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/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: 23.01729500805959]