Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000862/0.0008619, allocations: 99.59 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008769/0.0008772, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002112/0.0002113, allocations: 4 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 51.49 MB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003619/0.106, allocations: 3.005 MB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1075, allocations: 0.9196 MB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1077, allocations: 11.94 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1079, allocations: 63.47 kB / 362.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1082, allocations: 135.1 kB / 362.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1085, allocations: 123.9 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1091, allocations: 0.5724 MB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.1093, allocations: 154.2 kB / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1096, allocations: 199.2 kB / 363.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1098, allocations: 234.8 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1099, allocations: 28 kB / 363.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.1099, allocations: 32 kB / 363.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.11, allocations: 91.59 kB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.1101, allocations: 125.4 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1105, allocations: 470.8 kB / 364.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1106, allocations: 8 kB / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1106, allocations: 0 / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1106, allocations: 4 kB / 364.5 MB, free: 7.547 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00125/0.1118, allocations: 0.7795 MB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1119, allocations: 8.031 kB / 365.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.112, allocations: 94.52 kB / 365.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.1121, allocations: 59.25 kB / 365.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.1125, allocations: 342.6 kB / 365.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.1126, allocations: 37.31 kB / 365.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.1127, allocations: 51.95 kB / 365.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.1135, allocations: 446.5 kB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1136, allocations: 3.938 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.1136, allocations: 20 kB / 366.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1136, allocations: 15.94 kB / 366.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/0.1145, allocations: 405 kB / 366.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.117, allocations: 1.597 MB / 368.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.1177, allocations: 419.7 kB / 368.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.1181, allocations: 187.4 kB / 368.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.1182, allocations: 8.391 kB / 368.9 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1182, allocations: 42.88 kB / 368.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.755e-06/0.1182, allocations: 0 / 368.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.00296/0.1212, allocations: 1.273 MB / 370.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1212, allocations: 59.97 kB / 370.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.1217, allocations: 405.5 kB / 370.6 MB, free: 1.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1217, allocations: 33.7 kB / 370.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1219, allocations: 303.8 kB / 371 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.122, allocations: 185.3 kB / 371.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.122, allocations: 20 kB / 371.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1222, allocations: 358.7 kB / 371.5 MB, free: 172 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1971/0.3193, allocations: 180.9 kB / 371.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.3202, allocations: 304.7 kB / 372 MB, free: 18.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.3208, allocations: 232.1 kB / 372.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3208, allocations: 1.031 kB / 372.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001679/0.3225, allocations: 0.7615 MB / 373 MB, free: 18.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3225, allocations: 6.062 kB / 373 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3225, allocations: 4.562 kB / 373 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.3232, allocations: 179.5 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.3237, allocations: 116.9 kB / 373.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.3276, allocations: 3.88 MB / 377.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.3281, allocations: 32.56 kB / 377.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.3282, allocations: 25.84 kB / 377.2 MB, free: 15.97 MB / 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 (58): * Single equations (assignments): 56 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.3285, allocations: 179.4 kB / 377.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.3286, allocations: 52.45 kB / 377.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3287, allocations: 61.34 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3287, allocations: 6.578 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.3287, allocations: 5.844 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3287, allocations: 1.969 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.331, allocations: 1.327 MB / 378.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3311, allocations: 1.344 kB / 378.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3314, allocations: 78.64 kB / 378.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.3319, allocations: 165.4 kB / 379.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3319, allocations: 9.375 kB / 379.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.3351, allocations: 3.7 MB / 382.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3351, allocations: 2.062 kB / 382.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.3365, allocations: 0.7169 MB / 383.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3366, allocations: 122.7 kB / 383.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3366, allocations: 11.19 kB / 383.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3369, allocations: 32.47 kB / 383.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3371, allocations: 50.94 kB / 383.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.3371, allocations: 13.69 kB / 383.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.3375, allocations: 279.4 kB / 384 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3375, allocations: 0 / 384 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00087/0.3384, allocations: 154.3 kB / 384.2 MB, free: 10.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.34, allocations: 1.27 MB / 385.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.3417, allocations: 0.8022 MB / 386.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3417, allocations: 0 / 386.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008681/0.3426, allocations: 0.5314 MB / 386.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.3431, allocations: 48.58 kB / 386.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.3488, allocations: 3.002 MB / 389.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3492, allocations: 0.865 MB / 390.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.3495, allocations: 50.25 kB / 390.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3497, allocations: 177.3 kB / 390.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3497, allocations: 3.938 kB / 390.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.3767, allocations: 8.829 MB / 399.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.3769, allocations: 239.7 kB / 400 MB, free: 3.531 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.479, allocations: 0 / 400 MB, free: 3.531 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat