Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_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.001008/0.001008, allocations: 98.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 200.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, 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.2224/0.2224, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002767, allocations: 7.984 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 63.46 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002949/0.1354, allocations: 2 MB / 483.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1373, allocations: 0.9859 MB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1374, allocations: 4 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1378, allocations: 79.59 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.1381, allocations: 95.69 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.139, allocations: 398.8 kB / 485.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1393, allocations: 151.7 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.1403, allocations: 458.2 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1405, allocations: 83.7 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1406, allocations: 95.61 kB / 485.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1407, allocations: 12 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.141, allocations: 127.8 kB / 486 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1411, allocations: 35.84 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1411, allocations: 61.64 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1415, allocations: 299.4 kB / 486.4 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1415, allocations: 0 / 486.4 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1415, allocations: 0 / 486.4 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1415, allocations: 0 / 486.4 MB, free: 428 kB / 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.001266/0.1428, allocations: 0.585 MB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1429, allocations: 8.031 kB / 487 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.355e-05/0.1429, allocations: 66.47 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.1433, allocations: 51.69 kB / 487.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1434, allocations: 190.8 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1435, allocations: 16.56 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.1435, allocations: 24 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1442, allocations: 303.3 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1442, allocations: 4 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1442, allocations: 8 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1442, allocations: 8 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.1448, allocations: 249.6 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1464, allocations: 1.005 MB / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.1469, allocations: 387.2 kB / 489.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.1471, allocations: 166.3 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1472, allocations: 38.55 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.1472, allocations: 7.938 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00121/0.1484, allocations: 0.5349 MB / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1485, allocations: 85.05 kB / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1486, allocations: 136.2 kB / 490.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1486, allocations: 29.7 kB / 490.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.1487, allocations: 140.1 kB / 490.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.1488, allocations: 70.98 kB / 490.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.1488, allocations: 8 kB / 490.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1489, allocations: 322.8 kB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1491, allocations: 83.98 kB / 490.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1494, allocations: 131.5 kB / 491 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1496, allocations: 95.95 kB / 491.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1496, allocations: 0 / 491.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006158/0.1502, allocations: 305.7 kB / 491.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1503, allocations: 4 kB / 491.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1503, allocations: 4 kB / 491.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.1505, allocations: 49.81 kB / 491.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1507, allocations: 43.97 kB / 491.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.1526, allocations: 2.655 MB / 494.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1528, allocations: 39.88 kB / 494.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1528, allocations: 8 kB / 494.2 MB, free: 7.941 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 (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.0001466/0.153, allocations: 145.8 kB / 494.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.153, allocations: 15.81 kB / 494.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.1537, allocations: 292.4 kB / 494.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1537, allocations: 4 kB / 494.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1537, allocations: 0 / 494.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1537, allocations: 0 / 494.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1548, allocations: 0.6637 MB / 495.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1548, allocations: 0 / 495.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.155, allocations: 47.97 kB / 495.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1552, allocations: 45.69 kB / 495.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1552, allocations: 4 kB / 495.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.1569, allocations: 2.662 MB / 498 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.157, allocations: 0 / 498 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.1579, allocations: 0.5671 MB / 498.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1579, allocations: 89.02 kB / 498.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1579, allocations: 0 / 498.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.1581, allocations: 19.98 kB / 498.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.1582, allocations: 19.97 kB / 498.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1582, allocations: 7.953 kB / 498.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.1583, allocations: 107.2 kB / 498.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1583, allocations: 4.062 kB / 498.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1588, allocations: 83.61 kB / 498.9 MB, free: 2.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001337/0.1601, allocations: 1.196 MB / 0.4884 GB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.161, allocations: 437.4 kB / 0.4888 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.161, allocations: 0 / 0.4888 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.1614, allocations: 343.5 kB / 0.4891 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1618, allocations: 8 kB / 0.4891 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.1644, allocations: 1.858 MB / 0.491 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1647, allocations: 0.7477 MB / 0.4917 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.741e-05/0.1648, allocations: 17.42 kB / 0.4917 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.1649, allocations: 55.47 kB / 0.4918 GB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1649, allocations: 0 / 0.4918 GB, free: 13.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1798, allocations: 3.889 MB / 0.4956 GB, free: 10.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.1801, allocations: 222.5 kB / 0.4958 GB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.035, allocations: 3.938 kB / 0.4958 GB, free: 10.01 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat