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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2945/0.2945, allocations: 43.5 MB / 313.5 MB, free: 8.473 MB / 254.1 MB 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.00187/0.00187, allocations: 74.56 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.1001, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.1834/0.2836, allocations: 26.16 MB / 466.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009875/0.2935, allocations: 6.38 MB / 472.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003801/0.2974, allocations: 104.5 kB / 472.6 MB, free: 32.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.2995, allocations: 1.368 MB / 473.9 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.3012, allocations: 0.8546 MB / 474.8 MB, free: 31.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.302, allocations: 482.6 kB / 475.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.3039, allocations: 2.315 MB / 477.6 MB, free: 30.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.3053, allocations: 1.639 MB / 479.2 MB, free: 30.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.3058, allocations: 0.6165 MB / 479.8 MB, free: 30.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.3066, allocations: 0.9504 MB / 480.8 MB, free: 29.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3067, allocations: 104.1 kB / 480.9 MB, free: 29.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.3075, allocations: 0.5962 MB / 481.5 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.3079, allocations: 0.7035 MB / 482.2 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.3084, allocations: 0.8075 MB / 483 MB, free: 28.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3099, allocations: 2.442 MB / 485.4 MB, free: 27.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3099, allocations: 2.875 kB / 485.4 MB, free: 27.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3099, allocations: 0 / 485.4 MB, free: 27.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.31, allocations: 0 / 485.4 MB, free: 27.88 MB / 382.1 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.002635/0.3126, allocations: 2.033 MB / 487.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3126, allocations: 9.438 kB / 487.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.3129, allocations: 246.3 kB / 487.7 MB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.3138, allocations: 277.2 kB / 488 MB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.3157, allocations: 1.508 MB / 489.5 MB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.3157, allocations: 96.3 kB / 489.6 MB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3159, allocations: 121.1 kB / 489.7 MB, free: 25.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/0.3205, allocations: 2.989 MB / 492.7 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.3206, allocations: 14.59 kB / 492.7 MB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3207, allocations: 59.19 kB / 492.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005656/0.3213, allocations: 436.6 kB / 493.2 MB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/0.3253, allocations: 2.165 MB / 495.4 MB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3359, allocations: 10.75 MB / 0.4942 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.3395, allocations: 1.235 MB / 0.4954 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.3401, allocations: 408.9 kB / 0.4958 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003358/0.3435, allocations: 3.014 MB / 0.4988 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3435, allocations: 39.19 kB / 0.4988 GB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.3435, allocations: 0 / 0.4988 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01045/0.354, allocations: 3.797 MB / 0.5025 GB, free: 12.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.354, allocations: 83.86 kB / 0.5026 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.3556, allocations: 1.219 MB / 0.5038 GB, free: 11.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3556, allocations: 36.45 kB / 0.5038 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.3561, allocations: 0.9497 MB / 0.5048 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3562, allocations: 218.1 kB / 0.505 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3565, allocations: 308.7 kB / 0.5053 GB, free: 10.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.3566, allocations: 301.1 kB / 0.5055 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.3571, allocations: 408.9 kB / 0.5059 GB, free: 9.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.358, allocations: 1.249 MB / 0.5072 GB, free: 8.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3594, allocations: 1.784 MB / 0.5089 GB, free: 6.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.3594, allocations: 8.969 kB / 0.5089 GB, free: 6.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002072/0.3615, allocations: 1.716 MB / 0.5106 GB, free: 5.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.3616, allocations: 23.34 kB / 0.5106 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.3616, allocations: 30.16 kB / 0.5106 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.3618, allocations: 83.47 kB / 0.5107 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.3627, allocations: 351.3 kB / 0.511 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.3637, allocations: 1.706 MB / 0.5127 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.3646, allocations: 75.42 kB / 0.5128 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.3647, allocations: 84.16 kB / 0.5129 GB, free: 4.078 MB / 382.1 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.000771/0.3655, allocations: 0.6433 MB / 0.5135 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3656, allocations: 120.3 kB / 0.5136 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.3666, allocations: 0.7131 MB / 0.5143 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3666, allocations: 5 kB / 0.5143 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3666, allocations: 6.281 kB / 0.5143 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3666, allocations: 3.984 kB / 0.5143 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.3692, allocations: 2.238 MB / 0.5165 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3692, allocations: 4 kB / 0.5165 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3695, allocations: 99.92 kB / 0.5166 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.3697, allocations: 62.45 kB / 0.5167 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3697, allocations: 16 kB / 0.5167 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.371, allocations: 1.745 MB / 0.5184 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.371, allocations: 8.062 kB / 0.5184 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3724, allocations: 1.095 MB / 0.5195 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.3727, allocations: 215.7 kB / 0.5197 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3728, allocations: 27.98 kB / 0.5197 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.3732, allocations: 27.89 kB / 0.5197 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3732, allocations: 43.83 kB / 0.5198 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3733, allocations: 20 kB / 0.5198 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009176/0.3742, allocations: 0.7758 MB / 0.5205 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3742, allocations: 4 kB / 0.5205 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001307/0.3755, allocations: 300 kB / 0.5208 GB, free: 12.27 MB / 398.1 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.001739/0.3773, allocations: 1.674 MB / 0.5225 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3789, allocations: 1.087 MB / 0.5235 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.379, allocations: 5.625 kB / 0.5235 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.3795, allocations: 407 kB / 0.5239 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3805, allocations: 178.2 kB / 0.5241 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.396, allocations: 12.76 MB / 0.5365 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.3972, allocations: 1.458 MB / 0.538 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001005/0.3982, allocations: 413.7 kB / 0.5384 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.3988, allocations: 0.5813 MB / 0.5389 GB, free: 8.371 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3988, allocations: 0 / 0.5389 GB, free: 8.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6283/1.027, allocations: 22.2 MB / 0.5606 GB, free: 2.207 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.027, allocations: 223.9 kB / 0.5608 GB, free: 1.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/3.979, allocations: 3.938 kB / 0.5608 GB, free: 1.945 MB / 430.1 MB (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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches