Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000971/0.0009709, allocations: 82.97 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.692e-05, allocations: 0 / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4895, allocations: 89.03 MB / 491.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4898, allocations: 94.98 kB / 491.3 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08804/0.5779, allocations: 37.57 MB / 0.5164 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5779, allocations: 0 / 0.5164 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.578, allocations: 20 kB / 0.5165 GB, free: 12.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005207/0.5832, allocations: 1.502 MB / 0.5179 GB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.5833, allocations: 8.031 kB / 0.5179 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004544/0.5837, allocations: 186.2 kB / 0.5181 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.5869, allocations: 462.2 kB / 0.5185 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.5873, allocations: 299.6 kB / 0.5188 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.5874, allocations: 94.58 kB / 0.5189 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.5876, allocations: 135.5 kB / 0.5191 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.5898, allocations: 1.225 MB / 0.5203 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5899, allocations: 0 / 0.5203 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.59, allocations: 56 kB / 0.5203 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.5901, allocations: 35.94 kB / 0.5203 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.592, allocations: 1.084 MB / 0.5214 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006872/0.5989, allocations: 4.353 MB / 0.5256 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.6013, allocations: 2.225 MB / 0.5278 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000902/0.6022, allocations: 0.5009 MB / 0.5283 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.6025, allocations: 191.2 kB / 0.5285 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.6025, allocations: 51.55 kB / 0.5285 GB, free: 15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.506e-06/0.6025, allocations: 0 / 0.5285 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.007129/0.6097, allocations: 2.776 MB / 0.5313 GB, free: 12.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.6098, allocations: 90.11 kB / 0.5313 GB, free: 12.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.6102, allocations: 349.1 kB / 0.5317 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.6103, allocations: 45.7 kB / 0.5317 GB, free: 11.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.6106, allocations: 451 kB / 0.5321 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.6109, allocations: 425.8 kB / 0.5326 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.611, allocations: 28 kB / 0.5326 GB, free: 10.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6112, allocations: 374.8 kB / 0.5329 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.6118, allocations: 352 kB / 0.5333 GB, free: 10.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.6126, allocations: 0.6125 MB / 0.5339 GB, free: 9.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.6133, allocations: 456.9 kB / 0.5343 GB, free: 8.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6134, allocations: 4 kB / 0.5343 GB, free: 8.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002177/0.6155, allocations: 1.306 MB / 0.5356 GB, free: 7.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.6156, allocations: 8.25 kB / 0.5356 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6156, allocations: 8 kB / 0.5356 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005223/0.6161, allocations: 195.2 kB / 0.5358 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.6174, allocations: 295.6 kB / 0.5361 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.6215, allocations: 3.989 MB / 0.54 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.6225, allocations: 95.84 kB / 0.5401 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.6226, allocations: 60.05 kB / 0.5401 GB, free: 2.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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.0002157/0.6229, allocations: 168.7 kB / 0.5403 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.623, allocations: 63.25 kB / 0.5403 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.6253, allocations: 1.202 MB / 0.5415 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.6254, allocations: 12 kB / 0.5415 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6254, allocations: 11.94 kB / 0.5415 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.6254, allocations: 7.969 kB / 0.5415 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.6294, allocations: 2.37 MB / 0.5439 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6295, allocations: 4.031 kB / 0.5439 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6305, allocations: 227.7 kB / 0.5441 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.6309, allocations: 160 kB / 0.5442 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.631, allocations: 31.98 kB / 0.5443 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.6346, allocations: 3.776 MB / 0.5479 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.6347, allocations: 7.938 kB / 0.548 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.6373, allocations: 1.686 MB / 0.5496 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.6377, allocations: 224.3 kB / 0.5498 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.6378, allocations: 27.95 kB / 0.5498 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.6385, allocations: 76 kB / 0.5499 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.6387, allocations: 84.88 kB / 0.55 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.6388, allocations: 39.98 kB / 0.55 GB, free: 8.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002931/0.6391, allocations: 260.3 kB / 0.5503 GB, free: 7.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6391, allocations: 4 kB / 0.5503 GB, free: 7.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001082/0.6402, allocations: 319.9 kB / 0.5506 GB, free: 7.484 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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.003274/0.6434, allocations: 2.627 MB / 0.5532 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.6458, allocations: 1.286 MB / 0.5544 GB, free: 3.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6458, allocations: 4.062 kB / 0.5544 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.6469, allocations: 0.7865 MB / 0.5552 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.6474, allocations: 47.84 kB / 0.5552 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.6516, allocations: 1.551 MB / 0.5567 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.6523, allocations: 1.025 MB / 0.5577 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007619/0.6531, allocations: 154.6 kB / 0.5579 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.6537, allocations: 359.3 kB / 0.5582 GB, free: 15.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6537, allocations: 0 / 0.5582 GB, free: 15.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2749/0.9285, allocations: 16.61 MB / 0.5745 GB, free: 98.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.9288, allocations: 205.2 kB / 0.5746 GB, free: 98.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.526, allocations: 0 / 0.5746 GB, free: 98.29 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat