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.001957/0.001957, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002308/0.002308, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247 MB, free: 10.42 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.2302/0.2302, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002282/0.002282, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3641, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01283/0.377, allocations: 10.49 MB / 0.5409 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.3845, allocations: 3.245 MB / 0.544 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.3862, allocations: 53.5 kB / 0.5441 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005128/0.3914, allocations: 2.38 MB / 0.5464 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.3955, allocations: 1.212 MB / 0.5476 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.3973, allocations: 0.5134 MB / 0.5481 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.4024, allocations: 2.92 MB / 0.5509 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.4067, allocations: 3.03 MB / 0.5539 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.4093, allocations: 1.257 MB / 0.5551 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.4123, allocations: 1.721 MB / 0.5568 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008147/0.4131, allocations: 292 kB / 0.5571 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.4154, allocations: 1.003 MB / 0.5581 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.4174, allocations: 1.586 MB / 0.5596 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.4203, allocations: 1.965 MB / 0.5615 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008143/0.4284, allocations: 6.262 MB / 0.5677 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4285, allocations: 0 / 0.5677 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4285, allocations: 0 / 0.5677 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.4287, allocations: 0 / 0.5677 GB, free: 11.61 MB / 430.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.00925/0.4379, allocations: 4.355 MB / 0.5719 GB, free: 7.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.438, allocations: 8.031 kB / 0.5719 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001073/0.4391, allocations: 0.6913 MB / 0.5726 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.4453, allocations: 1.843 MB / 0.5744 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.4489, allocations: 1.773 MB / 0.5761 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.4491, allocations: 225.8 kB / 0.5763 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/0.4499, allocations: 303.8 kB / 0.5766 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.4709, allocations: 10.65 MB / 0.587 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.471, allocations: 39.67 kB / 0.5871 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/0.4715, allocations: 143.9 kB / 0.5872 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/0.4752, allocations: 2.036 MB / 0.5892 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.4951, allocations: 9.344 MB / 0.5983 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05075/0.5459, allocations: 37.91 MB / 0.6353 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.5574, allocations: 4.2 MB / 0.6394 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/0.561, allocations: 2.309 MB / 0.6417 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.5715, allocations: 6.109 MB / 0.6477 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.5715, allocations: 47.88 kB / 0.6477 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.619e-06/0.5716, allocations: 0 / 0.6477 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06706/0.6386, allocations: 22.23 MB / 0.6694 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6388, allocations: 157.8 kB / 0.6696 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005025/0.6438, allocations: 3.379 MB / 0.6729 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003981/0.6442, allocations: 53.7 kB / 0.6729 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.6465, allocations: 2.916 MB / 0.6758 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6477, allocations: 0.8217 MB / 0.6766 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00189/0.6496, allocations: 1.207 MB / 0.6777 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6497, allocations: 309.1 kB / 0.678 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.6535, allocations: 2.338 MB / 0.6803 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006884/0.6604, allocations: 5.789 MB / 0.686 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/0.6724, allocations: 8.816 MB / 0.6946 GB, free: 3.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.6726, allocations: 36 kB / 0.6946 GB, free: 3.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01651/0.6891, allocations: 8.716 MB / 0.7031 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.6892, allocations: 59.91 kB / 0.7032 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.6894, allocations: 124 kB / 0.7033 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.6923, allocations: 1.045 MB / 0.7043 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004798/0.6971, allocations: 1.384 MB / 0.7057 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.7039, allocations: 5.819 MB / 0.7114 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.7082, allocations: 331.6 kB / 0.7117 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008409/0.709, allocations: 356 kB / 0.712 GB, free: 1.512 MB / 0.5606 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 (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.00344/0.7125, allocations: 1.947 MB / 0.7139 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/0.7131, allocations: 329.8 kB / 0.7142 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/0.7208, allocations: 3.951 MB / 0.7181 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/0.7209, allocations: 31.84 kB / 0.7181 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.7209, allocations: 4 kB / 0.7181 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.721, allocations: 7.969 kB / 0.7181 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.7374, allocations: 8.819 MB / 0.7267 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.7375, allocations: 0 / 0.7267 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.7394, allocations: 351.5 kB / 0.7271 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.742, allocations: 0.8657 MB / 0.7279 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/0.7423, allocations: 39.98 kB / 0.728 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2505/0.9929, allocations: 5.121 MB / 0.733 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9929, allocations: 7.188 kB / 0.733 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009906/1.003, allocations: 6.92 MB / 0.7397 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/1.004, allocations: 374.2 kB / 0.7401 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/1.004, allocations: 32.72 kB / 0.7401 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.006, allocations: 125.1 kB / 0.7402 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.006, allocations: 115.9 kB / 0.7404 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.006, allocations: 59.56 kB / 0.7404 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002903/1.009, allocations: 2.076 MB / 0.7424 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.009, allocations: 0 / 0.7424 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003942/1.013, allocations: 0.9513 MB / 0.7434 GB, free: 171.4 MB / 0.5762 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.008588/1.022, allocations: 7.579 MB / 0.7508 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008273/1.03, allocations: 6.162 MB / 0.7568 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.03, allocations: 0 / 0.7568 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003476/1.034, allocations: 2.484 MB / 0.7592 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.036, allocations: 354.1 kB / 0.7595 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05947/1.095, allocations: 44.21 MB / 0.8027 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/1.098, allocations: 3.021 MB / 0.8057 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003628/1.102, allocations: 1.862 MB / 0.8075 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/1.104, allocations: 1.71 MB / 0.8092 GB, free: 107 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/1.104, allocations: 0 / 0.8092 GB, free: 107 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09713/1.201, allocations: 64.24 MB / 0.8719 GB, free: 43.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18/19.2, allocations: 3.781 kB / 0.8719 GB, free: 43.13 MB / 0.5762 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)