Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_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.000817/0.0008175, allocations: 96.55 kB / 17 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009522/0.0009522, allocations: 197.7 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.3 MB / 246 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1336, allocations: 63.46 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03363/0.1673, allocations: 34.84 MB / 0.5044 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3074/0.4747, allocations: 7.489 MB / 0.5117 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008239/0.483, allocations: 156.5 kB / 0.5118 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007316/0.4903, allocations: 1.777 MB / 0.5136 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01729/0.5076, allocations: 4.965 MB / 0.5184 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.5107, allocations: 420.4 kB / 0.5188 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006304/0.5171, allocations: 3.457 MB / 0.5222 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008239/0.5253, allocations: 3.781 MB / 0.5259 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.5285, allocations: 0.9969 MB / 0.5269 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.5319, allocations: 1.563 MB / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007706/0.5327, allocations: 131 kB / 0.5285 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.5351, allocations: 0.7564 MB / 0.5293 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.5368, allocations: 1.392 MB / 0.5306 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5379, allocations: 0.7535 MB / 0.5313 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.543, allocations: 4.79 MB / 0.536 GB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.543, allocations: 0 / 0.536 GB, free: 3.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.543, allocations: 4 kB / 0.536 GB, free: 3.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.5433, allocations: 2.531 kB / 0.536 GB, free: 3.098 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.008051/0.5513, allocations: 3.527 MB / 0.5395 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5514, allocations: 10.16 kB / 0.5395 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.5525, allocations: 0.6948 MB / 0.5402 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006278/0.5588, allocations: 1.92 MB / 0.542 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.5632, allocations: 1.716 MB / 0.5437 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.5634, allocations: 224.5 kB / 0.5439 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.5641, allocations: 305.9 kB / 0.5442 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.5873, allocations: 10.65 MB / 0.5546 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.5874, allocations: 35.69 kB / 0.5547 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/0.5879, allocations: 144.5 kB / 0.5548 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003189/0.5911, allocations: 2.04 MB / 0.5568 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/0.611, allocations: 9.338 MB / 0.5659 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/0.658, allocations: 38 MB / 0.603 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.6686, allocations: 4.22 MB / 0.6071 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.6719, allocations: 2.3 MB / 0.6094 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009406/0.6813, allocations: 6.112 MB / 0.6153 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.6814, allocations: 59.81 kB / 0.6154 GB, free: 8.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 4.549e-06/0.6814, allocations: 1.75 kB / 0.6154 GB, free: 8.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.05879/0.7402, allocations: 22.02 MB / 0.6369 GB, free: 2.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.7403, allocations: 157.8 kB / 0.6371 GB, free: 2.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/0.7453, allocations: 3.362 MB / 0.6403 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.7457, allocations: 57.7 kB / 0.6404 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.7477, allocations: 2.791 MB / 0.6431 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/0.7486, allocations: 0.7942 MB / 0.6439 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.7489, allocations: 119 kB / 0.644 GB, free: 11.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003409/0.7493, allocations: 0.558 MB / 0.6446 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.7527, allocations: 2.323 MB / 0.6468 GB, free: 8.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/0.7583, allocations: 5.769 MB / 0.6525 GB, free: 1.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005513/0.7639, allocations: 3.588 MB / 0.656 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.414e-05/0.764, allocations: 32 kB / 0.656 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01609/0.7801, allocations: 8.656 MB / 0.6644 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.7802, allocations: 56.97 kB / 0.6645 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.7803, allocations: 124 kB / 0.6646 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.783, allocations: 1.057 MB / 0.6657 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/0.7879, allocations: 1.38 MB / 0.667 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.7937, allocations: 5.406 MB / 0.6723 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/0.7985, allocations: 334.1 kB / 0.6726 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.7996, allocations: 360 kB / 0.6729 GB, free: 11.75 MB / 0.5137 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.003981/0.8036, allocations: 1.939 MB / 0.6748 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/0.8044, allocations: 313.3 kB / 0.6751 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007023/0.8114, allocations: 3.959 MB / 0.679 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.8115, allocations: 20 kB / 0.679 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.8115, allocations: 4 kB / 0.679 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.8115, allocations: 15.97 kB / 0.679 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.8293, allocations: 8.909 MB / 0.6877 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.8294, allocations: 0 / 0.6877 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.8311, allocations: 355.5 kB / 0.6881 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.8334, allocations: 0.8695 MB / 0.6889 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.8336, allocations: 35.98 kB / 0.689 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.8384, allocations: 4.759 MB / 0.6936 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8384, allocations: 0 / 0.6936 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.8486, allocations: 6.89 MB / 0.7003 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.8497, allocations: 364.9 kB / 0.7007 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/0.8502, allocations: 32 kB / 0.7007 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.8515, allocations: 127.8 kB / 0.7008 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.8518, allocations: 121.1 kB / 0.701 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.852, allocations: 54.73 kB / 0.701 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003317/0.8553, allocations: 2.065 MB / 0.703 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8553, allocations: 0 / 0.703 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005066/0.8604, allocations: 0.9648 MB / 0.704 GB, free: 11.59 MB / 0.545 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.01045/0.8709, allocations: 7.543 MB / 0.7113 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3198/1.191, allocations: 6.109 MB / 0.7173 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.191, allocations: 0 / 0.7173 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.196, allocations: 2.473 MB / 0.7197 GB, free: 165 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.198, allocations: 335.2 kB / 0.72 GB, free: 165 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06096/1.259, allocations: 32.33 MB / 0.7516 GB, free: 150.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/1.263, allocations: 3.021 MB / 0.7546 GB, free: 149.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004368/1.267, allocations: 1.853 MB / 0.7564 GB, free: 149.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/1.269, allocations: 1.709 MB / 0.758 GB, free: 149.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/1.27, allocations: 4 kB / 0.758 GB, free: 149.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.37, allocations: 71.96 MB / 0.8283 GB, free: 79.26 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.37, allocations: 206.7 kB / 0.8285 GB, free: 79.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/5.132, allocations: 0.5469 kB / 0.8285 GB, free: 79.02 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat