Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008783, allocations: 98.67 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 7.938 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002056/0.1323, allocations: 1.591 MB / 483.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.1333, allocations: 0.5536 MB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.1334, allocations: 7.938 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1335, allocations: 31.77 kB / 483.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.1336, allocations: 27.83 kB / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.1338, allocations: 35.91 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1339, allocations: 135.5 kB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1341, allocations: 45.84 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.1342, allocations: 43.84 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.1342, allocations: 55.7 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1343, allocations: 8 kB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.1343, allocations: 4 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.1343, allocations: 23.92 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1344, allocations: 45.64 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1345, allocations: 127.9 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1345, allocations: 0 / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1345, allocations: 4 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1345, allocations: 0 / 484.4 MB, free: 2.477 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005276/0.1351, allocations: 415.2 kB / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1351, allocations: 16.02 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1352, allocations: 42.56 kB / 484.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1352, allocations: 23.75 kB / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1354, allocations: 202.8 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1354, allocations: 12.28 kB / 485.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1354, allocations: 12 kB / 485.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1358, allocations: 148.6 kB / 485.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1358, allocations: 0 / 485.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1358, allocations: 4 kB / 485.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1358, allocations: 4 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.1361, allocations: 116.8 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.137, allocations: 0.6263 MB / 486 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1373, allocations: 78.61 kB / 486.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.1374, allocations: 32.97 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1374, allocations: 0 / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1374, allocations: 30.56 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1374, allocations: 4 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003586/0.1378, allocations: 129.4 kB / 486.2 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1378, allocations: 59.39 kB / 486.3 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.138, allocations: 147 kB / 486.4 MB, free: 180 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.138, allocations: 25.7 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.1381, allocations: 139.5 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1381, allocations: 15.75 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1381, allocations: 4 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1383, allocations: 318.8 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1384, allocations: 43.91 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1385, allocations: 64.27 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1386, allocations: 43.92 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1386, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.1389, allocations: 141.6 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1389, allocations: 4 kB / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1389, allocations: 4 kB / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.139, allocations: 11.83 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1391, allocations: 27.98 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1391, allocations: 0 / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.1392, allocations: 19.83 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1392, allocations: 8.031 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.1393, allocations: 125.8 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1394, allocations: 7.906 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.1394, allocations: 12.31 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1394, allocations: 3.984 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1394, allocations: 3.953 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1394, allocations: 0 / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.1396, allocations: 201.6 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1396, allocations: 0 / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.1397, allocations: 27.98 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1397, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1398, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1398, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1398, allocations: 3.984 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.14, allocations: 207.5 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.1401, allocations: 81.02 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1401, allocations: 0 / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1402, allocations: 15.98 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1403, allocations: 3.938 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.1403, allocations: 4 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.1404, allocations: 123.3 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1404, allocations: 0 / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1406, allocations: 23.94 kB / 488.1 MB, free: 14.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 (5): * Single equations (assignments): 5 * 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.0005062/0.1411, allocations: 0.7245 MB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1414, allocations: 80.06 kB / 488.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1414, allocations: 4.062 kB / 488.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.1415, allocations: 35.92 kB / 489 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1418, allocations: 7.938 kB / 489 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.143, allocations: 0.7862 MB / 489.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1433, allocations: 0.704 MB / 490.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.1434, allocations: 12.64 kB / 490.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.1434, allocations: 35.44 kB / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1434, allocations: 0 / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.1553, allocations: 1.828 MB / 492.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.1555, allocations: 171.9 kB / 492.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.994, allocations: 3.938 kB / 492.5 MB, free: 9.918 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat