Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001212, allocations: 94.11 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 180.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 241.1 MB, free: 5.32 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002369, allocations: 8.734 kB / 300.7 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/0.08675, allocations: 50.43 MB / 351.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005548/0.09234, allocations: 5.35 MB / 356.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.09567, allocations: 2.189 MB / 358.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.096, allocations: 24 kB / 358.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.09662, allocations: 278.4 kB / 359 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.09781, allocations: 0.6191 MB / 359.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.09956, allocations: 0.9567 MB / 360.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009117/0.1005, allocations: 0.7572 MB / 361.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.103, allocations: 1.527 MB / 362.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.1035, allocations: 406.4 kB / 363.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.104, allocations: 0.5019 MB / 363.7 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.1041, allocations: 52 kB / 363.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.1048, allocations: 323.6 kB / 364.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1049, allocations: 187.2 kB / 364.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1051, allocations: 217.1 kB / 364.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1062, allocations: 1.223 MB / 365.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1062, allocations: 0 / 365.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1063, allocations: 0 / 365.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1063, allocations: 4 kB / 365.7 MB, free: 13 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00567/0.1119, allocations: 1.83 MB / 367.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.112, allocations: 12.03 kB / 367.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.1155, allocations: 0.5176 MB / 368.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1158, allocations: 301.5 kB / 368.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.1159, allocations: 98.53 kB / 368.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.1161, allocations: 136 kB / 368.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.1183, allocations: 1.292 MB / 369.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1184, allocations: 0 / 369.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.1185, allocations: 52 kB / 370 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1185, allocations: 32 kB / 370 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.121, allocations: 1.213 MB / 371.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.1271, allocations: 4.248 MB / 375.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.1296, allocations: 2.444 MB / 377.9 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.1297, allocations: 114.1 kB / 378 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.1298, allocations: 43.56 kB / 378 MB, free: 44 kB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 4.208e-06/0.1298, allocations: 3.984 kB / 378 MB, free: 40 kB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01075/0.1406, allocations: 4.033 MB / 382.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1406, allocations: 90.11 kB / 382.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.1411, allocations: 389.4 kB / 382.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.1412, allocations: 49.64 kB / 382.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.1415, allocations: 454.9 kB / 383 MB, free: 10.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.1418, allocations: 425.7 kB / 383.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.1418, allocations: 36 kB / 383.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.142, allocations: 370.8 kB / 383.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.1432, allocations: 455.8 kB / 384.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.1444, allocations: 0.7114 MB / 385 MB, free: 8.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.1456, allocations: 0.5257 MB / 385.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1456, allocations: 7.953 kB / 385.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002963/0.1486, allocations: 1.509 MB / 387.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1486, allocations: 8 kB / 387.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1486, allocations: 8 kB / 387.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.1492, allocations: 209.5 kB / 387.3 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.1504, allocations: 299.6 kB / 387.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.1542, allocations: 3.997 MB / 391.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.1551, allocations: 91.86 kB / 391.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.1552, allocations: 60.03 kB / 391.7 MB, free: 1.844 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (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.0004004/0.1557, allocations: 265.5 kB / 392 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1558, allocations: 67.25 kB / 392 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.1588, allocations: 1.398 MB / 393.4 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.1588, allocations: 12 kB / 393.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1588, allocations: 7.984 kB / 393.5 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1588, allocations: 3.984 kB / 393.5 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.1634, allocations: 2.657 MB / 396.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1634, allocations: 4 kB / 396.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.1644, allocations: 227.9 kB / 396.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.1648, allocations: 165.5 kB / 396.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.1649, allocations: 31.98 kB / 396.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.1685, allocations: 3.826 MB / 400.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1685, allocations: 3.938 kB / 400.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.1725, allocations: 1.986 MB / 402.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.1728, allocations: 216.2 kB / 402.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.173, allocations: 28.17 kB / 402.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.1737, allocations: 79.83 kB / 402.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.1738, allocations: 97.98 kB / 402.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.1739, allocations: 35.98 kB / 402.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.1742, allocations: 263.2 kB / 403.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1742, allocations: 0 / 403.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001078/0.1753, allocations: 308.1 kB / 403.4 MB, free: 5.719 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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.0002725/0.1756, allocations: 178.9 kB / 403.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.1785, allocations: 1.489 MB / 405 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1785, allocations: 0 / 405 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.1801, allocations: 0.8782 MB / 405.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1804, allocations: 54.98 kB / 406 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.1843, allocations: 2.399 MB / 408.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.1848, allocations: 1.025 MB / 409.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000698/0.1855, allocations: 142.6 kB / 409.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.1857, allocations: 79.39 kB / 409.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1857, allocations: 0 / 409.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01508/0.2008, allocations: 9.332 MB / 418.9 MB, free: 6.051 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches