Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002611/0.002617, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2901/0.2901, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005455, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1299, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.05255/0.1825, allocations: 32.9 MB / 0.511 GB, free: 8.234 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.2055, allocations: 7.831 MB / 0.5186 GB, free: 392 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006645/0.2122, allocations: 155.6 kB / 0.5188 GB, free: 236 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3351/0.5474, allocations: 1.588 MB / 0.5203 GB, free: 10.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0188/0.5663, allocations: 4.553 MB / 0.5248 GB, free: 10.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5693, allocations: 364.3 kB / 0.5251 GB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005041/0.5744, allocations: 1.747 MB / 0.5268 GB, free: 10.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008658/0.5832, allocations: 3.75 MB / 0.5305 GB, free: 9.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.5861, allocations: 0.8315 MB / 0.5313 GB, free: 9.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.5896, allocations: 1.108 MB / 0.5324 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.591, allocations: 133.8 kB / 0.5325 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.5942, allocations: 0.7158 MB / 0.5332 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002724/0.597, allocations: 1.297 MB / 0.5345 GB, free: 9.676 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.5989, allocations: 0.7576 MB / 0.5352 GB, free: 9.645 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.6073, allocations: 4.784 MB / 0.5399 GB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6073, allocations: 3.312 kB / 0.5399 GB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6073, allocations: 0 / 0.5399 GB, free: 7.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.6076, allocations: 0 / 0.5399 GB, free: 7.066 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01193/0.6196, allocations: 3.617 MB / 0.5434 GB, free: 4.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.6196, allocations: 9.906 kB / 0.5434 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002682/0.6223, allocations: 0.6986 MB / 0.5441 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.6354, allocations: 2.177 MB / 0.5462 GB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.6412, allocations: 1.699 MB / 0.5479 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.6415, allocations: 227.5 kB / 0.5481 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.6433, allocations: 304 kB / 0.5484 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03565/0.679, allocations: 10.74 MB / 0.5589 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.6793, allocations: 44.31 kB / 0.5589 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/0.6806, allocations: 142.9 kB / 0.5591 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006767/0.6874, allocations: 2.037 MB / 0.5611 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/0.7223, allocations: 9.443 MB / 0.5703 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07722/0.7996, allocations: 38.49 MB / 0.6079 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03468/0.8343, allocations: 6.813 MB / 0.6145 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/0.85, allocations: 6.385 MB / 0.6208 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/0.8502, allocations: 58.59 kB / 0.6208 GB, free: 2.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.132e-06/0.8502, allocations: 0 / 0.6208 GB, free: 2.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=210): time 0.1503/1.001, allocations: 28.13 MB / 0.6483 GB, free: 6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.001, allocations: 149.8 kB / 0.6484 GB, free: 5.824 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008099/1.009, allocations: 3.367 MB / 0.6517 GB, free: 2.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007192/1.01, allocations: 60.23 kB / 0.6518 GB, free: 2.391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003266/1.013, allocations: 2.772 MB / 0.6545 GB, free: 15.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.015, allocations: 0.7922 MB / 0.6553 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008529/1.016, allocations: 120 kB / 0.6554 GB, free: 14.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005848/1.016, allocations: 0.5628 MB / 0.6559 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007275/1.023, allocations: 2.405 MB / 0.6583 GB, free: 11.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/1.035, allocations: 5.835 MB / 0.664 GB, free: 4.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.045, allocations: 3.68 MB / 0.6676 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.045, allocations: 36 kB / 0.6676 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02835/1.073, allocations: 8.756 MB / 0.6761 GB, free: 7.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.074, allocations: 56 kB / 0.6762 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/1.074, allocations: 120 kB / 0.6763 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/1.079, allocations: 1.059 MB / 0.6773 GB, free: 6.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009802/1.089, allocations: 1.396 MB / 0.6787 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.099, allocations: 5.513 MB / 0.6841 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/1.106, allocations: 343.5 kB / 0.6844 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/1.108, allocations: 360 kB / 0.6848 GB, free: 14.69 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00697/1.115, allocations: 1.943 MB / 0.6867 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.116, allocations: 308 kB / 0.687 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/1.132, allocations: 4.162 MB / 0.691 GB, free: 8.234 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-05/1.132, allocations: 24 kB / 0.691 GB, free: 8.211 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/1.132, allocations: 4 kB / 0.691 GB, free: 8.207 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.33e-05/1.132, allocations: 15.95 kB / 0.6911 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/1.163, allocations: 9.26 MB / 0.7001 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/1.163, allocations: 3.984 kB / 0.7001 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004027/1.167, allocations: 375.4 kB / 0.7005 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/1.172, allocations: 0.8707 MB / 0.7013 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006548/1.173, allocations: 36 kB / 0.7013 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008575/1.182, allocations: 4.839 MB / 0.7061 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.182, allocations: 0 / 0.7061 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/1.203, allocations: 7.274 MB / 0.7132 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.206, allocations: 0.7077 MB / 0.7139 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.207, allocations: 35.95 kB / 0.7139 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003616/1.211, allocations: 147.7 kB / 0.714 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009781/1.212, allocations: 116 kB / 0.7142 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002976/1.212, allocations: 59.98 kB / 0.7142 GB, free: 96 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3359/1.548, allocations: 2.057 MB / 0.7162 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/1.548, allocations: 0 / 0.7162 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007674/1.556, allocations: 0.9819 MB / 0.7172 GB, free: 182.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02928/1.585, allocations: 8.105 MB / 0.7251 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02796/1.613, allocations: 6.287 MB / 0.7312 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.613, allocations: 0 / 0.7312 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/1.627, allocations: 2.566 MB / 0.7337 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.631, allocations: 310.5 kB / 0.734 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09737/1.728, allocations: 116.4 MB / 0.8477 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005989/1.734, allocations: 3.107 MB / 0.8508 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004691/1.739, allocations: 1.757 MB / 0.8525 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/1.739, allocations: 0 / 0.8525 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.687/6.426, allocations: 141.4 MB / 0.9906 GB, free: 122.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat