Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.001102/0.001102, allocations: 97.2 kB / 17 MB, free: 6.102 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.0014/0.0014, allocations: 182.5 kB / 17.89 MB, free: 5.684 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.415/1.415, allocations: 223.2 MB / 241.9 MB, free: 264 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.2196/0.2196, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 10.78 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002691/0.1425, allocations: 2.034 MB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1437, allocations: 0.7172 MB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1438, allocations: 7.938 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.144, allocations: 39.7 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1442, allocations: 83.5 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1444, allocations: 67.92 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.1448, allocations: 306.8 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.145, allocations: 80.97 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1452, allocations: 107.6 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1454, allocations: 139.4 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.1454, allocations: 16 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.1455, allocations: 20 kB / 475.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.1455, allocations: 47.81 kB / 475.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.1456, allocations: 77.52 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1459, allocations: 259.5 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1459, allocations: 4 kB / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1459, allocations: 0 / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1459, allocations: 0 / 475.6 MB, free: 9.602 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009969/0.1469, allocations: 0.5689 MB / 476.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.147, allocations: 8.031 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.963e-05/0.147, allocations: 62.53 kB / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.1471, allocations: 35.62 kB / 476.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1474, allocations: 254.5 kB / 476.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1474, allocations: 16.56 kB / 476.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.1475, allocations: 23.95 kB / 476.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.148, allocations: 248.8 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.148, allocations: 3.938 kB / 476.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.1481, allocations: 12 kB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1481, allocations: 12 kB / 476.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.1486, allocations: 238.1 kB / 477.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.1499, allocations: 0.8754 MB / 478 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.1505, allocations: 309.8 kB / 478.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1508, allocations: 156.7 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.1508, allocations: 7.984 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1509, allocations: 46.56 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.1509, allocations: 0 / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00413/0.155, allocations: 1.262 MB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1551, allocations: 63.3 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1553, allocations: 209 kB / 480 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1553, allocations: 37.7 kB / 480.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1554, allocations: 161.1 kB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.1555, allocations: 106.5 kB / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.1555, allocations: 4 kB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1557, allocations: 334.8 kB / 480.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1559, allocations: 91.95 kB / 480.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1561, allocations: 129.9 kB / 480.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.1564, allocations: 113.3 kB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1564, allocations: 0 / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001591/0.158, allocations: 0.5532 MB / 481.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.158, allocations: 4 kB / 481.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.158, allocations: 3.938 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.1595, allocations: 319.1 kB / 481.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1597, allocations: 31.92 kB / 481.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.166, allocations: 6.327 MB / 488.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.1663, allocations: 27.77 kB / 488.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1663, allocations: 12 kB / 488.2 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.1664, allocations: 137.8 kB / 488.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.1665, allocations: 31.73 kB / 488.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.1682, allocations: 0.5629 MB / 489 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1682, allocations: 4 kB / 489 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1682, allocations: 3.938 kB / 489 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1682, allocations: 0 / 489 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.1686, allocations: 353.3 kB / 489.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1686, allocations: 0 / 489.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1687, allocations: 23.94 kB / 489.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.1701, allocations: 315.3 kB / 489.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1702, allocations: 8 kB / 489.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/0.1766, allocations: 6.358 MB / 496 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1767, allocations: 0 / 496 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1783, allocations: 0.6271 MB / 496.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1784, allocations: 100.7 kB / 496.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1784, allocations: 11.98 kB / 496.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1786, allocations: 12 kB / 496.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1787, allocations: 31.95 kB / 496.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1788, allocations: 8 kB / 496.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1789, allocations: 160.5 kB / 497 MB, free: 2.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1789, allocations: 0 / 497 MB, free: 2.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.1794, allocations: 123.8 kB / 497.1 MB, free: 2.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.1813, allocations: 1.168 MB / 498.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1824, allocations: 0.7446 MB / 499 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1824, allocations: 0 / 499 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.1836, allocations: 0.7173 MB / 499.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1839, allocations: 24.38 kB / 499.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.1876, allocations: 1.799 MB / 0.4898 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.188, allocations: 0.7717 MB / 0.4905 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.188, allocations: 5.969 kB / 0.4905 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1882, allocations: 75.47 kB / 0.4906 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1882, allocations: 0 / 0.4906 GB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.2127, allocations: 9.667 MB / 0.5001 GB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.213, allocations: 226.5 kB / 0.5003 GB, free: 3.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.467, allocations: 3.938 kB / 0.5003 GB, free: 3.332 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat