Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.001681, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2398/0.2398, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 81.72 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1213, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01288/0.1342, allocations: 10.49 MB / 490.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007209/0.1415, allocations: 3.247 MB / 494 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.1432, allocations: 51.88 kB / 494 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00463/0.148, allocations: 2.367 MB / 496.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.1518, allocations: 1.213 MB / 497.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1531, allocations: 0.5185 MB / 498.1 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003862/0.157, allocations: 2.912 MB / 0.4893 GB, free: 236 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.1606, allocations: 3.033 MB / 0.4922 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.1624, allocations: 1.25 MB / 0.4935 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.1646, allocations: 1.725 MB / 0.4951 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.1651, allocations: 292 kB / 0.4954 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1669, allocations: 0.9987 MB / 0.4964 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1684, allocations: 1.601 MB / 0.498 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.1705, allocations: 1.953 MB / 0.4999 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2183/0.3888, allocations: 5.999 MB / 0.5057 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3889, allocations: 0.8125 kB / 0.5057 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3889, allocations: 0 / 0.5057 GB, free: 20.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002288/0.3891, allocations: 0 / 0.5057 GB, free: 20.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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01156/0.4007, allocations: 4.241 MB / 0.5099 GB, free: 19.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4007, allocations: 10.28 kB / 0.5099 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00198/0.4027, allocations: 0.6982 MB / 0.5106 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/0.4101, allocations: 1.805 MB / 0.5123 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/0.4149, allocations: 1.741 MB / 0.514 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.4152, allocations: 230.3 kB / 0.5142 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.4166, allocations: 301.8 kB / 0.5145 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.4383, allocations: 10.65 MB / 0.5249 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4384, allocations: 40.88 kB / 0.525 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.4389, allocations: 144.7 kB / 0.5251 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003188/0.4421, allocations: 2.047 MB / 0.5271 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.4592, allocations: 9.35 MB / 0.5362 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04863/0.5079, allocations: 38 MB / 0.5734 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5195, allocations: 4.193 MB / 0.5774 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.5226, allocations: 2.307 MB / 0.5797 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008949/0.5316, allocations: 6.113 MB / 0.5857 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.5317, allocations: 49.53 kB / 0.5857 GB, free: 7.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 5.019e-06/0.5317, allocations: 0 / 0.5857 GB, free: 7.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06771/0.5994, allocations: 22.02 MB / 0.6072 GB, free: 1.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5995, allocations: 155.9 kB / 0.6074 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.6046, allocations: 3.365 MB / 0.6107 GB, free: 13.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000406/0.605, allocations: 60.91 kB / 0.6107 GB, free: 13.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.6074, allocations: 2.791 MB / 0.6134 GB, free: 10.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6084, allocations: 0.7993 MB / 0.6142 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.6102, allocations: 1.201 MB / 0.6154 GB, free: 8.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6104, allocations: 305.1 kB / 0.6157 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/0.6141, allocations: 2.342 MB / 0.618 GB, free: 6.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/0.6212, allocations: 5.788 MB / 0.6236 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.6334, allocations: 8.822 MB / 0.6322 GB, free: 4.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/0.6336, allocations: 36 kB / 0.6323 GB, free: 4.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01803/0.6517, allocations: 8.695 MB / 0.6408 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.6518, allocations: 56 kB / 0.6408 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/0.652, allocations: 124.1 kB / 0.6409 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.655, allocations: 1.041 MB / 0.642 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/0.6601, allocations: 1.376 MB / 0.6433 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.667, allocations: 5.827 MB / 0.649 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/0.6716, allocations: 335.4 kB / 0.6493 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009499/0.6726, allocations: 360 kB / 0.6497 GB, free: 2.543 MB / 494.1 MB 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003296/0.6759, allocations: 1.941 MB / 0.6515 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/0.6765, allocations: 308 kB / 0.6518 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007637/0.6842, allocations: 3.966 MB / 0.6557 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/0.6843, allocations: 26.5 kB / 0.6557 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6843, allocations: 4 kB / 0.6557 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.6843, allocations: 11.95 kB / 0.6558 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.7007, allocations: 8.911 MB / 0.6645 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.7008, allocations: 0 / 0.6645 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.7026, allocations: 359.4 kB / 0.6648 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.7053, allocations: 0.8618 MB / 0.6656 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.7055, allocations: 39.66 kB / 0.6657 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/0.7112, allocations: 5.091 MB / 0.6706 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7113, allocations: 0 / 0.6706 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/0.723, allocations: 6.897 MB / 0.6774 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.724, allocations: 356.9 kB / 0.6777 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/0.7246, allocations: 34.19 kB / 0.6778 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.726, allocations: 119.8 kB / 0.6779 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.7264, allocations: 121.1 kB / 0.678 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.7266, allocations: 55.98 kB / 0.678 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003514/0.7301, allocations: 2.073 MB / 0.6801 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7301, allocations: 0 / 0.6801 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005822/0.736, allocations: 0.9566 MB / 0.681 GB, free: 2.07 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0127/0.7487, allocations: 7.546 MB / 0.6884 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01441/0.7632, allocations: 7.859 MB / 0.696 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.7632, allocations: 0 / 0.696 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/0.7678, allocations: 2.487 MB / 0.6985 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.77, allocations: 355.5 kB / 0.6988 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/1.021, allocations: 48.42 MB / 0.7461 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.024, allocations: 3.013 MB / 0.749 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003751/1.028, allocations: 1.86 MB / 0.7509 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.03, allocations: 1.713 MB / 0.7525 GB, free: 167.6 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/1.03, allocations: 0 / 0.7525 GB, free: 167.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.134, allocations: 67.79 MB / 0.8187 GB, free: 103 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.14, allocations: 13.56 kB / 0.8187 GB, free: 103 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)