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: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001842/0.001843, allocations: 110.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002292, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.561/2.561, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4856, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007973/0.4937, allocations: 3.516 MB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.4968, allocations: 0.9502 MB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.4975, allocations: 11.94 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.4981, allocations: 95.14 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008899/0.499, allocations: 166.7 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.5001, allocations: 175.7 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.5016, allocations: 0.6387 MB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006007/0.5022, allocations: 189.5 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.5029, allocations: 243 kB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.5036, allocations: 266.7 kB / 416.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.5037, allocations: 52 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.5039, allocations: 52 kB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.5041, allocations: 123.5 kB / 416.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.5046, allocations: 294.4 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5057, allocations: 0.6277 MB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5057, allocations: 4 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5057, allocations: 0 / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.5058, allocations: 0 / 417.3 MB, free: 10.21 MB / 334.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.002725/0.5085, allocations: 0.8653 MB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.5086, allocations: 8.031 kB / 418.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.5088, allocations: 64.19 kB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.5098, allocations: 351.7 kB / 418.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.5098, allocations: 37.69 kB / 418.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.51, allocations: 48.38 kB / 418.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5117, allocations: 442.4 kB / 419.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.5118, allocations: 7.938 kB / 419.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.5119, allocations: 20 kB / 419.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.5119, allocations: 12 kB / 419.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.5136, allocations: 397 kB / 419.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.5183, allocations: 1.569 MB / 421.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.5196, allocations: 411.6 kB / 421.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007437/0.5204, allocations: 173.4 kB / 421.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.5205, allocations: 8.312 kB / 421.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.5206, allocations: 46.83 kB / 421.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 5.62e-06/0.5206, allocations: 4 kB / 421.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.006858/0.5275, allocations: 1.192 MB / 422.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.5276, allocations: 59.91 kB / 423 MB, free: 4.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.5285, allocations: 409.4 kB / 423.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.5286, allocations: 37.7 kB / 423.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.529, allocations: 303.9 kB / 423.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.5292, allocations: 185.3 kB / 423.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.5296, allocations: 114.2 kB / 424 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.5298, allocations: 362.8 kB / 424.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.5307, allocations: 181.1 kB / 424.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.5316, allocations: 299.1 kB / 424.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.5331, allocations: 0.4907 MB / 425.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5332, allocations: 0 / 425.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002895/0.5361, allocations: 0.7458 MB / 426.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.5361, allocations: 6.812 kB / 426.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5362, allocations: 4 kB / 426.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5372, allocations: 185.1 kB / 426.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.5381, allocations: 115.8 kB / 426.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.5456, allocations: 4.269 MB / 430.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.5465, allocations: 31.97 kB / 430.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5467, allocations: 24 kB / 430.7 MB, free: 12.14 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004815/0.5472, allocations: 173.7 kB / 430.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5473, allocations: 51.41 kB / 430.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.5476, allocations: 69.02 kB / 431 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.5476, allocations: 8 kB / 431 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/0.5476, allocations: 4 kB / 431 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5476, allocations: 3.984 kB / 431 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.5518, allocations: 1.304 MB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5519, allocations: 3.938 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.5525, allocations: 71.89 kB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009123/0.5535, allocations: 157.7 kB / 432.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.5536, allocations: 11.98 kB / 432.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.5601, allocations: 4.099 MB / 436.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5602, allocations: 0 / 436.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.5626, allocations: 0.7015 MB / 437.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.5629, allocations: 132.4 kB / 437.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.563, allocations: 12 kB / 437.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.5635, allocations: 15.98 kB / 437.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.5637, allocations: 48.38 kB / 437.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.5638, allocations: 19.98 kB / 437.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005443/0.5644, allocations: 283.2 kB / 437.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5644, allocations: 7.938 kB / 437.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001283/0.5657, allocations: 152.3 kB / 438 MB, free: 4.426 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.5659, allocations: 118.5 kB / 438.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.5689, allocations: 0.7814 MB / 438.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.569, allocations: 8.062 kB / 438.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.5706, allocations: 0.5191 MB / 439.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.5715, allocations: 61.66 kB / 439.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5746, allocations: 0.9727 MB / 440.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.5753, allocations: 0.867 MB / 441.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.5755, allocations: 31.44 kB / 441.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of SimCode: time 1.654e-06/0.5756, allocations: 0 / 441.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Templates: time 0.02131/0.5969, allocations: 9.917 MB / 451.3 MB, free: 7 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches