Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.0008081/0.0008081, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009545/0.0009544, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.659/1.659, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.3733/0.3733, allocations: 43.56 MB / 314.6 MB, free: 8.781 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.0005548/0.0005549, allocations: 20 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003079/0.1222, allocations: 2.525 MB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1237, allocations: 0.7299 MB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.124, allocations: 7.938 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1242, allocations: 39.69 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1245, allocations: 83.31 kB / 446.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1248, allocations: 91.81 kB / 446.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1254, allocations: 430.5 kB / 446.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.1257, allocations: 126.5 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.126, allocations: 151.4 kB / 447 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.1263, allocations: 179.2 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.1263, allocations: 20 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.1264, allocations: 20 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.1265, allocations: 59.75 kB / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1266, allocations: 97.52 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.127, allocations: 339 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.127, allocations: 3.938 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.127, allocations: 0 / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.127, allocations: 0 / 447.8 MB, free: 8.062 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001374/0.1284, allocations: 0.6434 MB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1284, allocations: 8.031 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.1286, allocations: 78.47 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1287, allocations: 43.53 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1291, allocations: 278.4 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1291, allocations: 28.95 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1292, allocations: 40 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.1298, allocations: 338.5 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1299, allocations: 4 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1299, allocations: 16 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1299, allocations: 15.94 kB / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.1306, allocations: 315.7 kB / 449.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.1329, allocations: 1.337 MB / 450.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.1334, allocations: 276.9 kB / 451.1 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.1337, allocations: 181.2 kB / 451.3 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1338, allocations: 4.281 kB / 451.3 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1338, allocations: 30.84 kB / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.1338, allocations: 0 / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008478/0.1347, allocations: 398.4 kB / 451.7 MB, free: 3.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.1347, allocations: 59.34 kB / 451.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.135, allocations: 262.6 kB / 452.1 MB, free: 3.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.135, allocations: 29.7 kB / 452.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1352, allocations: 200 kB / 452.3 MB, free: 3.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.1353, allocations: 122.3 kB / 452.4 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.1353, allocations: 4 kB / 452.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1354, allocations: 346.8 kB / 452.7 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1357, allocations: 108.8 kB / 452.8 MB, free: 2.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.136, allocations: 175.5 kB / 453 MB, free: 2.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1363, allocations: 129.6 kB / 453.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1363, allocations: 0 / 453.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006629/0.1369, allocations: 374.9 kB / 453.5 MB, free: 2.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.137, allocations: 8.219 kB / 453.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.137, allocations: 4 kB / 453.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.137, allocations: 4 kB / 453.5 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.1375, allocations: 107.8 kB / 453.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1375, allocations: 4 kB / 453.6 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1378, allocations: 51.52 kB / 453.7 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.1378, allocations: 8 kB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * 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.0001584/0.138, allocations: 161.8 kB / 453.9 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.138, allocations: 39.52 kB / 453.9 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.1387, allocations: 332.3 kB / 454.2 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1387, allocations: 8 kB / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1387, allocations: 0 / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1387, allocations: 0 / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1392, allocations: 405.1 kB / 454.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1392, allocations: 0 / 454.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.1396, allocations: 87.88 kB / 454.7 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1396, allocations: 4 kB / 454.7 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1396, allocations: 7.953 kB / 454.7 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1397, allocations: 0 / 454.7 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1397, allocations: 4 kB / 454.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.1405, allocations: 0.5299 MB / 455.3 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1406, allocations: 124.7 kB / 455.4 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.1407, allocations: 11.94 kB / 455.4 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1409, allocations: 19.94 kB / 455.4 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1953/0.3362, allocations: 16.64 kB / 455.4 MB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.3363, allocations: 10.19 kB / 455.4 MB, free: 46.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3365, allocations: 189.8 kB / 455.6 MB, free: 46.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3365, allocations: 0 / 455.6 MB, free: 46.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.337, allocations: 96.17 kB / 455.7 MB, free: 46.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.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 (35): * Single equations (assignments): 35 * Array equations: 0 * 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.001044/0.3381, allocations: 1.06 MB / 456.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.3386, allocations: 291.5 kB / 457.1 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3386, allocations: 0 / 457.1 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.3388, allocations: 140.5 kB / 457.2 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3392, allocations: 31.61 kB / 457.2 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.3417, allocations: 2.032 MB / 459.3 MB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3419, allocations: 0.7839 MB / 460 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.3421, allocations: 42.56 kB / 460.1 MB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3423, allocations: 107.8 kB / 460.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3423, allocations: 0 / 460.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3586, allocations: 5.17 MB / 465.4 MB, free: 43.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.3588, allocations: 166.8 kB / 465.5 MB, free: 43.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.194, allocations: 0 / 465.5 MB, free: 43.42 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat