Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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) 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007853, allocations: 96.73 kB / 17 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.0008761/0.0008757, allocations: 194 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.347/1.347, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 4 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00318/0.1243, allocations: 2.408 MB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1257, allocations: 0.7442 MB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1259, allocations: 12 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1261, allocations: 43.62 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1264, allocations: 79.44 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1266, allocations: 83.84 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.127, allocations: 366.5 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1273, allocations: 101.8 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1276, allocations: 143.4 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1278, allocations: 143.3 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.1278, allocations: 23.94 kB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.1279, allocations: 23.94 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.128, allocations: 67.73 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.1281, allocations: 85.52 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1284, allocations: 295.4 kB / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1284, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1284, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1284, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001191/0.1296, allocations: 0.6119 MB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.1297, allocations: 8.031 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.1298, allocations: 74.47 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.1299, allocations: 39.53 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1302, allocations: 262.5 kB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.1303, allocations: 28.61 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.1303, allocations: 32 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.131, allocations: 298 kB / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.131, allocations: 0 / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.1311, allocations: 12 kB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1311, allocations: 8 kB / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.1317, allocations: 270.5 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1334, allocations: 1.124 MB / 365.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1338, allocations: 154.5 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.134, allocations: 76.81 kB / 365.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.134, allocations: 0 / 365.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.134, allocations: 38.52 kB / 365.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.134, allocations: 0 / 365.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002025/0.1361, allocations: 0.6809 MB / 366.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1361, allocations: 55.55 kB / 366.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1364, allocations: 278.9 kB / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1365, allocations: 37.7 kB / 367 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1366, allocations: 227.5 kB / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.1367, allocations: 82.84 kB / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.1367, allocations: 8 kB / 367.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1369, allocations: 334.8 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1371, allocations: 111.7 kB / 367.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1375, allocations: 203.9 kB / 367.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1378, allocations: 129.1 kB / 368 MB, free: 3.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1378, allocations: 0 / 368 MB, free: 3.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007927/0.1386, allocations: 419.3 kB / 368.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1386, allocations: 8 kB / 368.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1387, allocations: 4 kB / 368.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.1389, allocations: 61.8 kB / 368.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1392, allocations: 87.83 kB / 368.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1413, allocations: 2.632 MB / 371.2 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.1416, allocations: 35.95 kB / 371.3 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.1416, allocations: 12 kB / 371.3 MB, free: 388 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001694/0.1418, allocations: 157.7 kB / 371.4 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.1419, allocations: 23.72 kB / 371.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.142, allocations: 34.2 kB / 371.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.142, allocations: 0 / 371.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.142, allocations: 7.938 kB / 371.5 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.142, allocations: 0 / 371.5 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2182/0.3602, allocations: 330.9 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3602, allocations: 1.578 kB / 371.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.3605, allocations: 42.5 kB / 371.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.3607, allocations: 56.92 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3608, allocations: 4.312 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.3622, allocations: 2.627 MB / 374.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3622, allocations: 3.469 kB / 374.6 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.3629, allocations: 398 kB / 374.9 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.363, allocations: 104.5 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.3631, allocations: 5.156 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3633, allocations: 21.47 kB / 375.1 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.3633, allocations: 27.12 kB / 375.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3634, allocations: 4.969 kB / 375.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3636, allocations: 201.6 kB / 375.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3636, allocations: 0 / 375.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.364, allocations: 72.47 kB / 375.4 MB, free: 16.52 MB / 302.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 (18): * Single equations (assignments): 16 * 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.0008606/0.3649, allocations: 0.9344 MB / 376.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000903/0.3658, allocations: 0.49 MB / 376.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3658, allocations: 0 / 376.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.3663, allocations: 357 kB / 377.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.3667, allocations: 26.64 kB / 377.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.3698, allocations: 1.793 MB / 379 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3701, allocations: 0.777 MB / 379.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3702, allocations: 33.66 kB / 379.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3704, allocations: 102.9 kB / 379.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3704, allocations: 0 / 379.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3906, allocations: 5.167 MB / 385 MB, free: 13.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.3908, allocations: 253.5 kB / 385.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.253, allocations: 0 / 385.3 MB, free: 13.16 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat