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.0009696/0.0009697, allocations: 98.78 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 192.3 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.438/1.438, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2562, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004265/0.1571, allocations: 2.062 MB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1596, allocations: 0.9819 MB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1598, allocations: 8 kB / 484.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1603, allocations: 87.59 kB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.1607, allocations: 83.52 kB / 484.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1618, allocations: 390.9 kB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.1623, allocations: 203.1 kB / 485.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.1636, allocations: 478.2 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1638, allocations: 79.7 kB / 486 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.1642, allocations: 103.5 kB / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1643, allocations: 12 kB / 486.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.1647, allocations: 131.9 kB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1648, allocations: 35.84 kB / 486.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1649, allocations: 69.58 kB / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.1654, allocations: 295.4 kB / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1654, allocations: 0 / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1655, allocations: 3.938 kB / 486.6 MB, free: 256 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1655, allocations: 0 / 486.6 MB, free: 256 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.001903/0.1674, allocations: 0.5967 MB / 487.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.1675, allocations: 8.031 kB / 487.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.1676, allocations: 62.53 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.1681, allocations: 47.69 kB / 487.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1684, allocations: 186.8 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.1684, allocations: 20.56 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.1685, allocations: 24 kB / 487.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.1694, allocations: 307.4 kB / 487.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1695, allocations: 0 / 487.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.1695, allocations: 12 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1695, allocations: 4 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.1704, allocations: 249.6 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.1727, allocations: 1.013 MB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.1735, allocations: 393.3 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.174, allocations: 137.7 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.1744, allocations: 174.2 kB / 489.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1745, allocations: 38.56 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/0.1745, allocations: 0 / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001745/0.1762, allocations: 0.5287 MB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1763, allocations: 81.11 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1765, allocations: 136.2 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1766, allocations: 29.7 kB / 490.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1768, allocations: 152 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.1769, allocations: 63.09 kB / 490.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.1769, allocations: 4 kB / 490.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003301/0.1772, allocations: 322.8 kB / 491.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.1775, allocations: 75.95 kB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1779, allocations: 133.8 kB / 491.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1783, allocations: 99.89 kB / 491.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1783, allocations: 0 / 491.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009185/0.1792, allocations: 305.7 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1793, allocations: 4 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1793, allocations: 4 kB / 491.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.1796, allocations: 53.67 kB / 491.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1799, allocations: 52.09 kB / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1831, allocations: 2.632 MB / 494.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.1834, allocations: 39.72 kB / 494.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1834, allocations: 12.06 kB / 494.6 MB, free: 7.629 MB / 366.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.0002183/0.1836, allocations: 133.8 kB / 494.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.1837, allocations: 15.81 kB / 494.7 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009505/0.1847, allocations: 280.4 kB / 495 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1847, allocations: 8 kB / 495 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1847, allocations: 0 / 495 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.1847, allocations: 7.984 kB / 495 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1865, allocations: 0.6615 MB / 495.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1866, allocations: 0 / 495.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1868, allocations: 48.08 kB / 495.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.187, allocations: 49.62 kB / 495.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.187, allocations: 11.95 kB / 495.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.1899, allocations: 2.643 MB / 498.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.19, allocations: 0 / 498.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1914, allocations: 0.5449 MB / 498.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.1915, allocations: 96.88 kB / 499 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.1915, allocations: 8 kB / 499.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.1918, allocations: 19.98 kB / 499.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1919, allocations: 27.86 kB / 499.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.192, allocations: 16.06 kB / 499.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1921, allocations: 101.1 kB / 499.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1921, allocations: 0 / 499.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008033/0.1929, allocations: 71.84 kB / 499.3 MB, free: 2.492 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.001891/0.1948, allocations: 1.105 MB / 0.4887 GB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.196, allocations: 435.6 kB / 0.4891 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.196, allocations: 0 / 0.4891 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.1966, allocations: 337.7 kB / 0.4894 GB, free: 0.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.1972, allocations: 16 kB / 0.4894 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.1994, allocations: 1.272 MB / 0.4907 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1997, allocations: 0.7361 MB / 0.4914 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1998, allocations: 13.44 kB / 0.4914 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.1999, allocations: 59.47 kB / 0.4914 GB, free: 14.34 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1999, allocations: 0 / 0.4914 GB, free: 14.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2227, allocations: 3.878 MB / 0.4952 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/0.2231, allocations: 238.2 kB / 0.4955 GB, free: 10.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.111, allocations: 4 kB / 0.4955 GB, free: 10.41 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