Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 95.36 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.001414/0.001414, allocations: 200.4 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.381/1.381, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 45.93 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004554/0.1296, allocations: 4.219 MB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.1323, allocations: 1.527 MB / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1325, allocations: 20 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.1329, allocations: 175 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005336/0.1335, allocations: 291.2 kB / 487.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.1343, allocations: 426.4 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.135, allocations: 0.5613 MB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.1371, allocations: 1.271 MB / 490 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.1375, allocations: 271 kB / 490.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.1379, allocations: 374.4 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.138, allocations: 40 kB / 490.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1383, allocations: 139.9 kB / 490.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.1384, allocations: 131.5 kB / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1386, allocations: 169.3 kB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.1395, allocations: 0.896 MB / 492 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1395, allocations: 0 / 492 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1395, allocations: 0 / 492 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1395, allocations: 0 / 492 MB, free: 10.71 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002924/0.1424, allocations: 1.209 MB / 493.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1425, allocations: 15.97 kB / 493.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.1426, allocations: 152.2 kB / 493.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.1442, allocations: 242.8 kB / 493.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1444, allocations: 266.5 kB / 493.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1446, allocations: 78 kB / 493.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1447, allocations: 96 kB / 494 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.1461, allocations: 0.9204 MB / 495 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.1461, allocations: 3.906 kB / 495 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/0.1462, allocations: 48 kB / 495 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1463, allocations: 24 kB / 495 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1475, allocations: 0.7182 MB / 495.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.1523, allocations: 4.111 MB / 499.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.1551, allocations: 3.364 MB / 0.4914 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.1552, allocations: 182.5 kB / 0.4916 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1553, allocations: 42.83 kB / 0.4916 GB, free: 14.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.1553, allocations: 0 / 0.4916 GB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002592/0.1579, allocations: 1.322 MB / 0.4929 GB, free: 12.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.158, allocations: 144.5 kB / 0.4931 GB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.1584, allocations: 310.8 kB / 0.4934 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.1585, allocations: 45.7 kB / 0.4934 GB, free: 12.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.1587, allocations: 390.4 kB / 0.4938 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.1589, allocations: 228.7 kB / 0.494 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1589, allocations: 20 kB / 0.494 GB, free: 11.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1591, allocations: 350.8 kB / 0.4944 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1594, allocations: 201.9 kB / 0.4945 GB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.16, allocations: 396.6 kB / 0.4949 GB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1604, allocations: 252.7 kB / 0.4952 GB, free: 10.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1604, allocations: 4 kB / 0.4952 GB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0014/0.1618, allocations: 0.8786 MB / 0.496 GB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1619, allocations: 12.06 kB / 0.496 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1619, allocations: 4 kB / 0.496 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.1625, allocations: 223.2 kB / 0.4963 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.163, allocations: 139.8 kB / 0.4964 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.1683, allocations: 6.312 MB / 0.5026 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.1689, allocations: 91.06 kB / 0.5026 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.1689, allocations: 36 kB / 0.5027 GB, free: 1.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.1693, allocations: 225.7 kB / 0.5029 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1694, allocations: 43.47 kB / 0.5029 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1707, allocations: 0.6871 MB / 0.5036 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1707, allocations: 8 kB / 0.5036 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1707, allocations: 4 kB / 0.5036 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1707, allocations: 7.984 kB / 0.5036 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2267/0.3975, allocations: 1.559 MB / 0.5051 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.3975, allocations: 1.891 kB / 0.5051 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3978, allocations: 67.39 kB / 0.5052 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/0.3983, allocations: 217.7 kB / 0.5054 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.3984, allocations: 12.59 kB / 0.5054 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.4026, allocations: 6.289 MB / 0.5116 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4026, allocations: 4.391 kB / 0.5116 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.404, allocations: 1.215 MB / 0.5128 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4041, allocations: 126.1 kB / 0.5129 GB, free: 33.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.4041, allocations: 12.77 kB / 0.5129 GB, free: 33.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.4045, allocations: 14.02 kB / 0.5129 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4046, allocations: 65.73 kB / 0.513 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.4046, allocations: 17.14 kB / 0.513 GB, free: 33.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.4049, allocations: 211.9 kB / 0.5132 GB, free: 33.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4049, allocations: 0 / 0.5132 GB, free: 33.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009971/0.4059, allocations: 286.2 kB / 0.5135 GB, free: 33.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/0.4076, allocations: 1.999 MB / 0.5154 GB, free: 32.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.409, allocations: 1.073 MB / 0.5165 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.409, allocations: 0 / 0.5165 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.4097, allocations: 0.7834 MB / 0.5172 GB, free: 30.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.4101, allocations: 38.45 kB / 0.5173 GB, free: 30.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.4152, allocations: 7.037 MB / 0.5241 GB, free: 25.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.4157, allocations: 0.9283 MB / 0.525 GB, free: 24.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.416, allocations: 64.73 kB / 0.5251 GB, free: 24.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.4163, allocations: 228.8 kB / 0.5253 GB, free: 24.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4163, allocations: 4.938 kB / 0.5253 GB, free: 24.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.4406, allocations: 10.72 MB / 0.5358 GB, free: 21.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.4408, allocations: 225.9 kB / 0.536 GB, free: 21.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.478, allocations: 4 kB / 0.536 GB, free: 21.11 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat