Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_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.001126/0.001126, allocations: 96.86 kB / 17 MB, free: 6.113 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.00116/0.00116, allocations: 183 kB / 17.89 MB, free: 5.707 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.412/1.412, allocations: 223.3 MB / 241.9 MB, free: 328 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.2141/0.2141, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00264/0.1215, allocations: 2.042 MB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.123, allocations: 0.9391 MB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1232, allocations: 4 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1235, allocations: 87.59 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1237, allocations: 79.52 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.1247, allocations: 0.5101 MB / 475.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.125, allocations: 203.1 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.1259, allocations: 490 kB / 476 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.126, allocations: 71.72 kB / 476.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1262, allocations: 99.61 kB / 476.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1262, allocations: 8 kB / 476.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.1265, allocations: 135.8 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1266, allocations: 31.84 kB / 476.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1266, allocations: 65.58 kB / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.127, allocations: 291.5 kB / 476.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.127, allocations: 7.938 kB / 476.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.127, allocations: 0 / 476.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.127, allocations: 0 / 476.7 MB, free: 8.547 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.00115/0.1282, allocations: 0.585 MB / 477.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1282, allocations: 8.031 kB / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/0.1283, allocations: 70.47 kB / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.1286, allocations: 51.69 kB / 477.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1287, allocations: 178.8 kB / 477.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1288, allocations: 24.52 kB / 477.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.1288, allocations: 24 kB / 477.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.1294, allocations: 299.4 kB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1294, allocations: 0 / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1294, allocations: 12 kB / 477.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1295, allocations: 4 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.13, allocations: 257.6 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1314, allocations: 1.009 MB / 479.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1319, allocations: 394.8 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1322, allocations: 141.7 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.1323, allocations: 93.09 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1324, allocations: 30.56 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.1324, allocations: 4 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00113/0.1335, allocations: 0.5268 MB / 480.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1336, allocations: 77.11 kB / 480.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1337, allocations: 148.1 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1337, allocations: 29.7 kB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.1338, allocations: 144 kB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.1339, allocations: 63.09 kB / 480.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.1339, allocations: 4 kB / 480.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.134, allocations: 326.8 kB / 481.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1342, allocations: 83.97 kB / 481.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1344, allocations: 130 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1347, allocations: 91.91 kB / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1347, allocations: 0 / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005785/0.1352, allocations: 309.9 kB / 481.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1353, allocations: 8.031 kB / 481.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1353, allocations: 0 / 481.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.1355, allocations: 49.69 kB / 481.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1357, allocations: 47.91 kB / 481.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.1379, allocations: 2.632 MB / 484.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1381, allocations: 31.86 kB / 484.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1381, allocations: 8 kB / 484.5 MB, free: 48 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.1383, allocations: 153.7 kB / 484.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.1383, allocations: 15.88 kB / 484.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.139, allocations: 276.5 kB / 485 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.139, allocations: 0 / 485 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.139, allocations: 7.953 kB / 485 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.139, allocations: 0 / 485 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1401, allocations: 0.6733 MB / 485.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1402, allocations: 7.938 kB / 485.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1403, allocations: 39.91 kB / 485.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.1405, allocations: 53.72 kB / 485.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1405, allocations: 8.062 kB / 485.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.1423, allocations: 2.631 MB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1423, allocations: 11.92 kB / 488.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.1433, allocations: 0.5431 MB / 488.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.1433, allocations: 96.86 kB / 489 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1434, allocations: 3.984 kB / 489 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1435, allocations: 28.05 kB / 489.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.1436, allocations: 15.98 kB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.1436, allocations: 7.984 kB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.758e-05/0.1437, allocations: 105 kB / 489.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1437, allocations: 0 / 489.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.1442, allocations: 67.84 kB / 489.2 MB, free: 10.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/0.1455, allocations: 1.112 MB / 490.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.1463, allocations: 441.6 kB / 490.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1463, allocations: 0 / 490.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.1469, allocations: 337.3 kB / 491.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1473, allocations: 15.98 kB / 491.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1498, allocations: 1.276 MB / 492.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1502, allocations: 0.7361 MB / 493.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.938e-05/0.1503, allocations: 21.41 kB / 493.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1504, allocations: 55.36 kB / 493.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1504, allocations: 0 / 493.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1691, allocations: 3.817 MB / 497 MB, free: 3.133 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.1694, allocations: 231.7 kB / 497.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.037, allocations: 3.375 kB / 497.3 MB, free: 2.891 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat