Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.0008691/0.0008692, allocations: 97.8 kB / 17 MB, free: 6.031 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.0009673/0.0009675, allocations: 183.5 kB / 17.89 MB, free: 5.633 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.362/1.362, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1932/0.1932, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005218, allocations: 15.98 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 61.9 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03097/0.1608, allocations: 34.82 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.1783, allocations: 7.438 MB / 0.5019 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007868/0.1862, allocations: 155.6 kB / 0.502 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006203/0.1925, allocations: 1.788 MB / 0.5038 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2691/0.4616, allocations: 4.953 MB / 0.5086 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.4643, allocations: 413.4 kB / 0.509 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005763/0.4701, allocations: 3.468 MB / 0.5124 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006405/0.4765, allocations: 3.774 MB / 0.5161 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4795, allocations: 0.9946 MB / 0.517 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.4832, allocations: 1.562 MB / 0.5186 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.4839, allocations: 130 kB / 0.5187 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.4862, allocations: 0.7512 MB / 0.5194 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.488, allocations: 1.388 MB / 0.5208 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.4892, allocations: 0.753 MB / 0.5215 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.4949, allocations: 4.791 MB / 0.5262 GB, free: 8.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4949, allocations: 2.625 kB / 0.5262 GB, free: 8.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.495, allocations: 4 kB / 0.5262 GB, free: 8.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002111/0.4952, allocations: 0 / 0.5262 GB, free: 8.988 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.00834/0.5035, allocations: 3.497 MB / 0.5296 GB, free: 6.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5036, allocations: 10.84 kB / 0.5296 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/0.5052, allocations: 0.6918 MB / 0.5303 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.5109, allocations: 1.856 MB / 0.5321 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.5142, allocations: 1.722 MB / 0.5338 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.5144, allocations: 230.1 kB / 0.534 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/0.515, allocations: 298 kB / 0.5343 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.5317, allocations: 10.61 MB / 0.5447 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.5319, allocations: 43.53 kB / 0.5447 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.5322, allocations: 141.1 kB / 0.5448 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002991/0.5352, allocations: 2.039 MB / 0.5468 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.5531, allocations: 9.287 MB / 0.5559 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04471/0.5978, allocations: 38.02 MB / 0.593 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/0.6075, allocations: 4.174 MB / 0.5971 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.6104, allocations: 2.297 MB / 0.5993 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007641/0.6181, allocations: 6.022 MB / 0.6052 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.6181, allocations: 57.45 kB / 0.6053 GB, free: 5.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.628e-06/0.6181, allocations: 0 / 0.6053 GB, free: 5.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05987/0.678, allocations: 21.91 MB / 0.6267 GB, free: 15.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.6781, allocations: 157.7 kB / 0.6268 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.6839, allocations: 3.355 MB / 0.6301 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005337/0.6845, allocations: 57.7 kB / 0.6302 GB, free: 11.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.6865, allocations: 2.8 MB / 0.6329 GB, free: 8.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.6876, allocations: 0.7996 MB / 0.6337 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.6879, allocations: 120 kB / 0.6338 GB, free: 8.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.6883, allocations: 0.5502 MB / 0.6343 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.6917, allocations: 2.303 MB / 0.6366 GB, free: 5.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/0.6975, allocations: 5.762 MB / 0.6422 GB, free: 13.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/0.7031, allocations: 3.577 MB / 0.6457 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.597e-05/0.7032, allocations: 36 kB / 0.6457 GB, free: 10.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01639/0.7196, allocations: 8.625 MB / 0.6541 GB, free: 1.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.7197, allocations: 58.19 kB / 0.6542 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.72, allocations: 120 kB / 0.6543 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.7226, allocations: 1.062 MB / 0.6554 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005608/0.7282, allocations: 1.372 MB / 0.6567 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.735, allocations: 5.414 MB / 0.662 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.7407, allocations: 331.4 kB / 0.6623 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/0.7422, allocations: 356 kB / 0.6626 GB, free: 8.531 MB / 0.4981 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.004946/0.7472, allocations: 1.939 MB / 0.6645 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/0.748, allocations: 308.1 kB / 0.6648 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.7552, allocations: 3.939 MB / 0.6687 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.7553, allocations: 24 kB / 0.6687 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.7553, allocations: 4 kB / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/0.7554, allocations: 7.969 kB / 0.6687 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.7717, allocations: 8.881 MB / 0.6774 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.7718, allocations: 4.062 kB / 0.6774 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.7735, allocations: 347.5 kB / 0.6777 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.7758, allocations: 0.8788 MB / 0.6786 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.7761, allocations: 35.95 kB / 0.6786 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.781, allocations: 4.745 MB / 0.6832 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.781, allocations: 0 / 0.6832 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.7923, allocations: 6.843 MB / 0.6899 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.7937, allocations: 364.9 kB / 0.6903 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.7942, allocations: 39.36 kB / 0.6903 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.7956, allocations: 119.8 kB / 0.6904 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.7959, allocations: 117.1 kB / 0.6905 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.796, allocations: 59.92 kB / 0.6906 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004405/0.8005, allocations: 2.061 MB / 0.6926 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.71e-07/0.8005, allocations: 0 / 0.6926 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006078/0.8066, allocations: 0.9648 MB / 0.6935 GB, free: 8.473 MB / 0.5294 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.01065/0.8173, allocations: 7.506 MB / 0.7009 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2578/1.075, allocations: 6.084 MB / 0.7068 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.075, allocations: 0 / 0.7068 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.08, allocations: 2.465 MB / 0.7092 GB, free: 191.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.082, allocations: 340.5 kB / 0.7095 GB, free: 191.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06754/1.15, allocations: 32.27 MB / 0.7411 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/1.154, allocations: 3.023 MB / 0.744 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004644/1.159, allocations: 1.863 MB / 0.7458 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/1.162, allocations: 1.713 MB / 0.7475 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/1.162, allocations: 0 / 0.7475 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.262, allocations: 72.03 MB / 0.8178 GB, free: 93 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/1.263, allocations: 211 kB / 0.818 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/4.997, allocations: 1.969 kB / 0.8181 GB, free: 92.76 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat