Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",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.0008419/0.0008419, allocations: 97.48 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008676/0.0008678, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 61.93 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001861/0.1357, allocations: 1.395 MB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.1359, allocations: 79.72 kB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.136, allocations: 0 / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.136, allocations: 11.94 kB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.1361, allocations: 19.84 kB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.753e-05/0.1362, allocations: 15.98 kB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1363, allocations: 103.6 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1365, allocations: 47.8 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.1366, allocations: 35.86 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.1366, allocations: 35.84 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1367, allocations: 4 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.1367, allocations: 11.94 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.1367, allocations: 19.92 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.1368, allocations: 41.69 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1369, allocations: 88.03 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1369, allocations: 3.938 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1369, allocations: 0 / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1369, allocations: 0 / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005573/0.1375, allocations: 415 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1375, allocations: 8.031 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.1376, allocations: 46.55 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1376, allocations: 7.906 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1377, allocations: 167 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1378, allocations: 15.89 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.1378, allocations: 8 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.1381, allocations: 129.6 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1381, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1381, allocations: 11.94 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1382, allocations: 0 / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.1385, allocations: 127.8 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.1392, allocations: 491.3 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1395, allocations: 98.47 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.1397, allocations: 72.94 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1397, allocations: 7.953 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1397, allocations: 30.56 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.515e-06/0.1397, allocations: 3.984 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007565/0.1405, allocations: 299.4 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1405, allocations: 55.41 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.1406, allocations: 117.8 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1407, allocations: 29.7 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.1407, allocations: 108.1 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1408, allocations: 19.72 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.1408, allocations: 4 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1409, allocations: 318.8 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.141, allocations: 47.91 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1412, allocations: 70.53 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1413, allocations: 51.92 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1414, allocations: 0 / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003725/0.1417, allocations: 166.3 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1418, allocations: 11.98 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1418, allocations: 320 / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.1419, allocations: 20.86 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1421, allocations: 32.03 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/0.143, allocations: 1.296 MB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.1432, allocations: 35.86 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1432, allocations: 0 / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1433, allocations: 113.8 kB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1433, allocations: 4 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.1433, allocations: 12.38 kB / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1433, allocations: 4.062 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1434, allocations: 0 / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1434, allocations: 0 / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.144, allocations: 452 kB / 478.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.144, allocations: 3.938 kB / 478.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.1441, allocations: 23.97 kB / 478.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-05/0.1442, allocations: 32.95 kB / 478.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1442, allocations: 4 kB / 478.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.1451, allocations: 1.3 MB / 479.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1451, allocations: 4.062 kB / 479.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.1455, allocations: 268.9 kB / 480 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.1456, allocations: 85.02 kB / 480.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1456, allocations: 0 / 480.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1457, allocations: 23.98 kB / 480.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1457, allocations: 7.984 kB / 480.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1458, allocations: 0 / 480.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.1458, allocations: 99.27 kB / 480.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.296e-06/0.1458, allocations: 0 / 480.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1461, allocations: 23.94 kB / 480.2 MB, free: 4.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006877/0.1468, allocations: 0.796 MB / 481 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.1473, allocations: 230.7 kB / 481.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1473, allocations: 0 / 481.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1475, allocations: 170.6 kB / 481.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1478, allocations: 14.16 kB / 481.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1491, allocations: 0.7151 MB / 482.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1495, allocations: 0.6965 MB / 482.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.1496, allocations: 12.17 kB / 482.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.1496, allocations: 19.44 kB / 482.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1496, allocations: 0 / 482.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1647, allocations: 1.988 MB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003817/0.1651, allocations: 209.5 kB / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.989, allocations: 0 / 485.1 MB, free: 15.51 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat