Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 113.2 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 189.8 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009699/0.0009699, allocations: 47.48 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09094, allocations: 49.45 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.1935/0.2844, allocations: 33.48 MB / 383.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3001, allocations: 6.58 MB / 389.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007452/0.3076, allocations: 142.6 kB / 389.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.3115, allocations: 1.745 MB / 391.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.3155, allocations: 1.234 MB / 392.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.3162, allocations: 196.6 kB / 392.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004712/0.3209, allocations: 3.448 MB / 396.4 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.3233, allocations: 2.223 MB / 398.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.3248, allocations: 0.9966 MB / 399.6 MB, free: 320 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.3269, allocations: 1.719 MB / 401.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.3272, allocations: 186.8 kB / 401.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.3282, allocations: 0.4887 MB / 402 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3293, allocations: 1.324 MB / 403.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.3307, allocations: 1.611 MB / 404.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.3351, allocations: 4.663 MB / 409.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3351, allocations: 0 / 409.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3351, allocations: 4 kB / 409.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.357e-05/0.3352, allocations: 0 / 409.6 MB, free: 8.762 MB / 318.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.005903/0.3411, allocations: 3.625 MB / 413.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3412, allocations: 8.031 kB / 413.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.3462, allocations: 1.653 MB / 414.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.3489, allocations: 1.55 MB / 416.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.3491, allocations: 159.7 kB / 416.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.3494, allocations: 191.9 kB / 416.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009431/0.3588, allocations: 6.982 MB / 423.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.3589, allocations: 31.66 kB / 423.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3592, allocations: 99.88 kB / 423.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/0.3614, allocations: 1.574 MB / 425.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009633/0.371, allocations: 5.478 MB / 430.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.3988, allocations: 27.25 MB / 458.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.4016, allocations: 1.588 MB / 459.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.4022, allocations: 470.7 kB / 460.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003268/0.4055, allocations: 2.585 MB / 462.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4055, allocations: 42.67 kB / 462.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.645e-06/0.4055, allocations: 3.938 kB / 462.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003478/0.409, allocations: 1.659 MB / 464.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.4091, allocations: 199.8 kB / 464.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.4135, allocations: 3.702 MB / 468.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.4136, allocations: 33.7 kB / 468.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.4152, allocations: 2.721 MB / 471.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.4155, allocations: 364.4 kB / 471.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.4166, allocations: 0.9598 MB / 472.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.4167, allocations: 309.1 kB / 472.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.4182, allocations: 1.204 MB / 474 MB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/0.4218, allocations: 4.568 MB / 478.6 MB, free: 16.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.428, allocations: 6.308 MB / 484.9 MB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/0.428, allocations: 32 kB / 484.9 MB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008824/0.4369, allocations: 5.447 MB / 490.4 MB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.437, allocations: 60.97 kB / 490.4 MB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.4371, allocations: 120 kB / 490.5 MB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.4372, allocations: 156 kB / 490.7 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.4401, allocations: 1.103 MB / 491.8 MB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001702/0.4403, allocations: 235.1 kB / 492 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.4436, allocations: 0.6841 MB / 492.7 MB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.444, allocations: 324 kB / 493 MB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * 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.002133/0.4461, allocations: 1.723 MB / 494.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.4465, allocations: 296.1 kB / 495 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.4473, allocations: 0.4945 MB / 495.5 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4473, allocations: 8 kB / 495.5 MB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4473, allocations: 8 kB / 495.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4473, allocations: 3.984 kB / 495.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.4518, allocations: 3.123 MB / 498.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4519, allocations: 0 / 498.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4523, allocations: 107.8 kB / 498.8 MB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.4523, allocations: 8 kB / 498.8 MB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.4524, allocations: 19.98 kB / 498.8 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4524, allocations: 7.938 kB / 498.8 MB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4524, allocations: 4.281 kB / 498.8 MB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.4544, allocations: 2.03 MB / 0.4891 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.4551, allocations: 420.9 kB / 0.4895 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.4553, allocations: 20 kB / 0.4895 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.4561, allocations: 35.95 kB / 0.4896 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4562, allocations: 43.83 kB / 0.4896 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4563, allocations: 28 kB / 0.4896 GB, free: 7.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003072/0.4594, allocations: 2.361 MB / 0.4919 GB, free: 4.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4594, allocations: 4 kB / 0.4919 GB, free: 4.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003586/0.463, allocations: 0.8176 MB / 0.4927 GB, free: 4.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.0003112/0.4633, allocations: 147 kB / 0.4929 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.4676, allocations: 2.87 MB / 0.4957 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4676, allocations: 1.875 kB / 0.4957 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.4682, allocations: 400.1 kB / 0.4961 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.4704, allocations: 396 kB / 0.4964 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.4822, allocations: 8.191 MB / 0.5044 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.4854, allocations: 2.679 MB / 0.5071 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003643/0.4891, allocations: 1.514 MB / 0.5085 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.4895, allocations: 199.4 kB / 0.5087 GB, free: 3.695 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4895, allocations: 0 / 0.5087 GB, free: 3.695 MB / 430.1 MB Notification: Performance of Templates: time 0.2108/0.7003, allocations: 22.16 MB / 0.5304 GB, free: 148.6 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches