Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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 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 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 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.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",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.0008534/0.0008533, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 175.7 kB / 16.58 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.7 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4034/0.4034, allocations: 43.54 MB / 314.6 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004931, allocations: 12 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2902/0.4241, allocations: 38.82 MB / 481.7 MB, free: 27.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02131/0.4454, allocations: 8.764 MB / 490.5 MB, free: 21.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00948/0.455, allocations: 179.7 kB / 490.6 MB, free: 21.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007245/0.4623, allocations: 1.994 MB / 492.6 MB, free: 20.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01872/0.481, allocations: 6.015 MB / 498.6 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.4844, allocations: 0.67 MB / 499.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009077/0.4935, allocations: 4.929 MB / 0.4924 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008454/0.502, allocations: 4.157 MB / 0.4965 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.5063, allocations: 1.291 MB / 0.4977 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00484/0.5112, allocations: 2.093 MB / 0.4998 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009742/0.5122, allocations: 152.1 kB / 0.4999 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.5146, allocations: 0.7228 MB / 0.5006 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.517, allocations: 1.727 MB / 0.5023 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.5185, allocations: 0.8319 MB / 0.5031 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.5251, allocations: 5.254 MB / 0.5083 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5251, allocations: 0 / 0.5083 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5251, allocations: 3.938 kB / 0.5083 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.5254, allocations: 0 / 0.5083 GB, free: 9.148 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009574/0.5349, allocations: 4.048 MB / 0.5122 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.535, allocations: 13.73 kB / 0.5122 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002005/0.537, allocations: 0.7258 MB / 0.5129 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007227/0.5443, allocations: 2.028 MB / 0.5149 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006316/0.5506, allocations: 3.195 MB / 0.518 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.5508, allocations: 249.1 kB / 0.5183 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007765/0.5516, allocations: 329.6 kB / 0.5186 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.5709, allocations: 10.19 MB / 0.5286 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.5711, allocations: 59.45 kB / 0.5286 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.5715, allocations: 159.9 kB / 0.5288 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/0.5742, allocations: 1.9 MB / 0.5306 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.591, allocations: 8.119 MB / 0.5385 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05296/0.644, allocations: 39.45 MB / 0.5771 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00767/0.6517, allocations: 3.27 MB / 0.5803 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.6533, allocations: 1.047 MB / 0.5813 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008596/0.6619, allocations: 5.908 MB / 0.5871 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.662, allocations: 55.5 kB / 0.5871 GB, free: 9.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.027e-06/0.662, allocations: 0 / 0.5871 GB, free: 9.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02423/0.6863, allocations: 9.549 MB / 0.5964 GB, free: 312 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.6864, allocations: 149.8 kB / 0.5966 GB, free: 132 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/0.6921, allocations: 4.069 MB / 0.6006 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.6923, allocations: 45.7 kB / 0.6006 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.6944, allocations: 3.194 MB / 0.6037 GB, free: 8.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006622/0.6951, allocations: 0.6327 MB / 0.6043 GB, free: 8.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.6953, allocations: 120 kB / 0.6044 GB, free: 7.984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003393/0.6956, allocations: 0.5661 MB / 0.605 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/0.6981, allocations: 1.616 MB / 0.6066 GB, free: 5.789 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005058/0.7032, allocations: 5.462 MB / 0.6119 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.7072, allocations: 2.914 MB / 0.6148 GB, free: 11.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/0.7073, allocations: 40 kB / 0.6148 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01088/0.7182, allocations: 6.812 MB / 0.6214 GB, free: 4.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.7183, allocations: 64 kB / 0.6215 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/0.7184, allocations: 136 kB / 0.6216 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.7186, allocations: 200 kB / 0.6218 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.7226, allocations: 1.42 MB / 0.6232 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002129/0.7228, allocations: 271 kB / 0.6235 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/0.727, allocations: 291.6 kB / 0.6238 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004889/0.7276, allocations: 379.9 kB / 0.6241 GB, free: 1.887 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003817/0.7314, allocations: 2.048 MB / 0.6261 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/0.7321, allocations: 351.4 kB / 0.6265 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.7343, allocations: 1.338 MB / 0.6278 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.7343, allocations: 23.98 kB / 0.6278 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7344, allocations: 0 / 0.6278 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.7344, allocations: 3.984 kB / 0.6278 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.7445, allocations: 5.829 MB / 0.6335 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/0.7446, allocations: 16 kB / 0.6335 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/0.7456, allocations: 283.5 kB / 0.6338 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/0.7456, allocations: 28 kB / 0.6338 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.7457, allocations: 44 kB / 0.6338 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.612e-05/0.7457, allocations: 36.42 kB / 0.6339 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/0.7457, allocations: 35.83 kB / 0.6339 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.7497, allocations: 3.262 MB / 0.6371 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.7513, allocations: 0.5353 MB / 0.6376 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.7517, allocations: 51.98 kB / 0.6377 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7527, allocations: 59.95 kB / 0.6377 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.7529, allocations: 151.4 kB / 0.6379 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.753, allocations: 67.98 kB / 0.6379 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004667/0.7577, allocations: 2.516 MB / 0.6404 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7577, allocations: 0 / 0.6404 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.2804/1.038, allocations: 0.8961 MB / 0.6413 GB, free: 151.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004446/1.043, allocations: 3.931 MB / 0.6451 GB, free: 150.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006613/1.049, allocations: 3.729 MB / 0.6487 GB, free: 150 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/1.049, allocations: 2.781 kB / 0.6487 GB, free: 150 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.05, allocations: 0.7424 MB / 0.6495 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.054, allocations: 457.4 kB / 0.6499 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06084/1.114, allocations: 31.64 MB / 0.6808 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005483/1.12, allocations: 3.18 MB / 0.6839 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004977/1.125, allocations: 1.812 MB / 0.6857 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002827/1.128, allocations: 1.871 MB / 0.6875 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/1.128, allocations: 0 / 0.6875 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.235, allocations: 67.77 MB / 0.7537 GB, free: 73.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/1.235, allocations: 175.9 kB / 0.7538 GB, free: 73.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.571, allocations: 0 / 0.7538 GB, free: 73.43 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat