Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001271, allocations: 99.86 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001469, allocations: 208.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2465/0.2465, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002952, allocations: 7.984 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001818/0.1327, allocations: 1.388 MB / 482.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.1328, allocations: 83.7 kB / 483 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.1329, allocations: 4 kB / 483 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.1329, allocations: 7.922 kB / 483 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.133, allocations: 23.94 kB / 483 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.931e-05/0.1331, allocations: 19.98 kB / 483 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1332, allocations: 75.84 kB / 483.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1334, allocations: 35.95 kB / 483.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1334, allocations: 35.91 kB / 483.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.1335, allocations: 47.77 kB / 483.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1335, allocations: 4 kB / 483.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.1335, allocations: 8 kB / 483.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1336, allocations: 7.984 kB / 483.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1336, allocations: 49.58 kB / 483.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.1337, allocations: 80.05 kB / 483.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1337, allocations: 4 kB / 483.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1337, allocations: 0 / 483.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1337, allocations: 0 / 483.4 MB, free: 3.391 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.0005885/0.1343, allocations: 419 kB / 483.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1344, allocations: 8.031 kB / 483.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.1345, allocations: 42.55 kB / 483.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1345, allocations: 7.906 kB / 483.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1347, allocations: 178.9 kB / 484 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1347, allocations: 8 kB / 484 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1347, allocations: 12 kB / 484.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.1351, allocations: 133.4 kB / 484.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1351, allocations: 0 / 484.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1351, allocations: 7.984 kB / 484.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1351, allocations: 4 kB / 484.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.1355, allocations: 123.9 kB / 484.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.1363, allocations: 487.2 kB / 484.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1366, allocations: 94.53 kB / 484.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1366, allocations: 4 kB / 484.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1367, allocations: 38.44 kB / 484.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1367, allocations: 0 / 484.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008594/0.1375, allocations: 299.5 kB / 485.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1376, allocations: 55.41 kB / 485.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1377, allocations: 125.7 kB / 485.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1377, allocations: 25.7 kB / 485.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1378, allocations: 112.1 kB / 485.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1379, allocations: 23.7 kB / 485.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.1379, allocations: 0 / 485.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.138, allocations: 314.8 kB / 485.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1382, allocations: 51.95 kB / 485.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1384, allocations: 65.69 kB / 486 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1385, allocations: 51.97 kB / 486 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1385, allocations: 3.938 kB / 486 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004194/0.139, allocations: 162.4 kB / 486.2 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.139, allocations: 4 kB / 486.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.139, allocations: 4.156 kB / 486.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.1392, allocations: 24.8 kB / 486.2 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1393, allocations: 32 kB / 486.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.1403, allocations: 1.307 MB / 487.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1404, allocations: 27.97 kB / 487.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1404, allocations: 4 kB / 487.6 MB, free: 14.79 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 (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.0001009/0.1405, allocations: 122.3 kB / 487.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1406, allocations: 0 / 487.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.1406, allocations: 12.38 kB / 487.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1406, allocations: 3.953 kB / 487.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1406, allocations: 0 / 487.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1406, allocations: 4 kB / 487.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1408, allocations: 205.8 kB / 487.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1409, allocations: 0 / 487.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.141, allocations: 27.98 kB / 488 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/0.141, allocations: 20.84 kB / 488 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1411, allocations: 0 / 488 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009153/0.142, allocations: 1.32 MB / 489.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.142, allocations: 0 / 489.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1425, allocations: 256.3 kB / 489.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1425, allocations: 88.97 kB / 489.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1425, allocations: 0 / 489.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1427, allocations: 23.97 kB / 489.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1427, allocations: 4 kB / 489.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1427, allocations: 0 / 489.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.1428, allocations: 95.27 kB / 489.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1428, allocations: 11.94 kB / 489.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1431, allocations: 16 kB / 489.8 MB, free: 12.37 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 (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.000784/0.1439, allocations: 0.7912 MB / 490.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.1444, allocations: 226.6 kB / 490.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1444, allocations: 4.062 kB / 490.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.1447, allocations: 178.5 kB / 491 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1449, allocations: 6.578 kB / 491 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1463, allocations: 0.8592 MB / 491.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1466, allocations: 0.7043 MB / 492.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.1466, allocations: 4.188 kB / 492.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1467, allocations: 19.44 kB / 492.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1467, allocations: 0 / 492.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1641, allocations: 1.963 MB / 494.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.1644, allocations: 203.9 kB / 494.7 MB, free: 7.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.872, allocations: 0 / 494.7 MB, free: 7.406 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat