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.0008946/0.0008946, allocations: 99.58 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 195.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003214, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001896/0.1339, allocations: 1.408 MB / 483 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00016/0.1341, allocations: 87.66 kB / 483.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.1342, allocations: 0 / 483.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.1342, allocations: 15.92 kB / 483.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.1343, allocations: 15.8 kB / 483.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.1344, allocations: 23.97 kB / 483.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1345, allocations: 95.66 kB / 483.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1347, allocations: 35.95 kB / 483.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.1347, allocations: 35.86 kB / 483.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.1348, allocations: 43.83 kB / 483.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1348, allocations: 4 kB / 483.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.1349, allocations: 12 kB / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.1349, allocations: 11.92 kB / 483.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1349, allocations: 45.64 kB / 483.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.748e-05/0.135, allocations: 84.03 kB / 483.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.135, allocations: 0 / 483.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.135, allocations: 0 / 483.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1351, allocations: 0 / 483.5 MB, free: 3.359 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.000545/0.1356, allocations: 419 kB / 483.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1357, allocations: 8.031 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1357, allocations: 42.55 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1357, allocations: 7.906 kB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1359, allocations: 178.8 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1359, allocations: 8 kB / 484.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1359, allocations: 15.98 kB / 484.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1362, allocations: 136.9 kB / 484.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1363, allocations: 0 / 484.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1363, allocations: 8 kB / 484.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1363, allocations: 0 / 484.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.1366, allocations: 127.9 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.1374, allocations: 491.2 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1377, allocations: 94.53 kB / 485 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1379, allocations: 68.94 kB / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1379, allocations: 8 kB / 485.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1379, allocations: 30.56 kB / 485.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1379, allocations: 0 / 485.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007744/0.1387, allocations: 299.4 kB / 485.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1388, allocations: 55.41 kB / 485.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.1389, allocations: 129.7 kB / 485.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1389, allocations: 29.7 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.139, allocations: 108.1 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.139, allocations: 19.72 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1391, allocations: 4 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.1393, allocations: 318.8 kB / 486.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1396, allocations: 43.97 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1397, allocations: 74.47 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1399, allocations: 51.95 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1399, allocations: 0 / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003758/0.1403, allocations: 162.4 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1403, allocations: 8 kB / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1403, allocations: 0 / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.1404, allocations: 28.8 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1406, allocations: 24.36 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.1416, allocations: 1.308 MB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.1417, allocations: 23.92 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1417, allocations: 0 / 487.8 MB, free: 14.69 MB / 366.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 9.792e-05/0.1418, allocations: 122.3 kB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1419, allocations: 4 kB / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.1419, allocations: 24.38 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1419, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1419, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1419, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1427, allocations: 452 kB / 488.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1427, allocations: 3.938 kB / 488.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.1428, allocations: 19.98 kB / 488.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.153e-05/0.1428, allocations: 24.88 kB / 488.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1429, allocations: 0 / 488.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.144, allocations: 1.3 MB / 489.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.144, allocations: 4.125 kB / 489.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.1445, allocations: 269 kB / 490 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1445, allocations: 85.02 kB / 490.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1445, allocations: 0 / 490.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1447, allocations: 23.92 kB / 490.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1447, allocations: 11.98 kB / 490.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1447, allocations: 7.953 kB / 490.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.1448, allocations: 91.27 kB / 490.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1448, allocations: 0 / 490.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1451, allocations: 24 kB / 490.2 MB, free: 12 MB / 366.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.0008893/0.146, allocations: 0.7921 MB / 491 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005446/0.1465, allocations: 226.6 kB / 491.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1465, allocations: 0 / 491.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.1468, allocations: 174.8 kB / 491.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1471, allocations: 15.89 kB / 491.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1484, allocations: 0.7144 MB / 492.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1487, allocations: 0.6965 MB / 492.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.1487, allocations: 12.12 kB / 492.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.1488, allocations: 19.44 kB / 492.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1488, allocations: 0 / 492.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.166, allocations: 1.963 MB / 494.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.1664, allocations: 218.7 kB / 495.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.016, allocations: 0 / 495.1 MB, free: 7.16 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