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/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.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/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 196.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 98.31 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.916e-05, allocations: 4 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4731, allocations: 81.57 MB / 476.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4734, allocations: 79.41 kB / 476.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03133/0.5048, allocations: 12.32 MB / 489.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5048, allocations: 0 / 489.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.5048, allocations: 8 kB / 489.2 MB, free: 1.16 MB / 346.7 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.001431/0.5063, allocations: 0.7265 MB / 490 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5063, allocations: 8.031 kB / 490 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.5065, allocations: 66.69 kB / 490 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.507, allocations: 351.3 kB / 490.4 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.507, allocations: 16.05 kB / 490.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.5071, allocations: 28 kB / 490.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006164/0.5077, allocations: 312.4 kB / 490.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.5085, allocations: 334 kB / 491.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5085, allocations: 4 kB / 491.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5085, allocations: 2.812 kB / 491.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5086, allocations: 15.94 kB / 491.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.5112, allocations: 1.499 MB / 492.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.5117, allocations: 366.5 kB / 492.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.5121, allocations: 156.7 kB / 493.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.5122, allocations: 8.328 kB / 493.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.5122, allocations: 33.95 kB / 493.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/0.5122, allocations: 0 / 493.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001816/0.514, allocations: 0.827 MB / 494 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.5142, allocations: 59.97 kB / 494 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.5146, allocations: 336.1 kB / 494.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.5146, allocations: 25.7 kB / 494.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.5148, allocations: 304.6 kB / 494.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.515, allocations: 178.9 kB / 494.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.515, allocations: 0 / 494.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5152, allocations: 360.9 kB / 495.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5154, allocations: 131.1 kB / 495.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.5157, allocations: 253.5 kB / 495.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.516, allocations: 166.2 kB / 495.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.516, allocations: 0 / 495.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001137/0.5171, allocations: 0.6112 MB / 496.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5172, allocations: 4 kB / 496.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5172, allocations: 7.953 kB / 496.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.5177, allocations: 174.2 kB / 496.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.5182, allocations: 118.9 kB / 496.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/0.5221, allocations: 3.742 MB / 0.4887 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.5226, allocations: 31.98 kB / 0.4887 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.5227, allocations: 23.81 kB / 0.4887 GB, free: 7.336 MB / 362.7 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 () * 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.0001223/0.5228, allocations: 108.9 kB / 0.4888 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000809/0.5237, allocations: 493.3 kB / 0.4893 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.5238, allocations: 47.34 kB / 0.4893 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.5239, allocations: 55.25 kB / 0.4894 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5239, allocations: 7.984 kB / 0.4894 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.5239, allocations: 8 kB / 0.4894 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5239, allocations: 0 / 0.4894 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.5258, allocations: 1.114 MB / 0.4905 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5258, allocations: 0 / 0.4905 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.5261, allocations: 79.89 kB / 0.4906 GB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.5265, allocations: 156.3 kB / 0.4907 GB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.5266, allocations: 5.781 kB / 0.4907 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.5303, allocations: 3.547 MB / 0.4942 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.5303, allocations: 0 / 0.4942 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.5313, allocations: 0.6385 MB / 0.4948 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5314, allocations: 123.2 kB / 0.4949 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.5315, allocations: 4 kB / 0.4949 GB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.5319, allocations: 23.97 kB / 0.495 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.532, allocations: 50.91 kB / 0.495 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.532, allocations: 11.12 kB / 0.495 GB, free: 1.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.5323, allocations: 259.5 kB / 0.4953 GB, free: 1.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5323, allocations: 0 / 0.4953 GB, free: 1.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007534/0.5331, allocations: 128 kB / 0.4954 GB, free: 1.207 MB / 362.7 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 () * 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.001402/0.5345, allocations: 1.457 MB / 0.4968 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.5356, allocations: 0.6596 MB / 0.4974 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5356, allocations: 0 / 0.4974 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.5364, allocations: 484.2 kB / 0.4979 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5367, allocations: 21.88 kB / 0.4979 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5383, allocations: 0.6733 MB / 0.4986 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.539, allocations: 0.8678 MB / 0.4994 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.5392, allocations: 52.19 kB / 0.4995 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.5395, allocations: 175.4 kB / 0.4997 GB, free: 12.85 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5395, allocations: 0 / 0.4997 GB, free: 12.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.5736, allocations: 8.233 MB / 0.5077 GB, free: 4.688 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5738, allocations: 163.4 kB / 0.5078 GB, free: 4.496 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.122, allocations: 0 / 0.5078 GB, free: 4.496 MB / 378.7 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