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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 72.06 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 150.6 kB / 24.49 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 50.7 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0822/0.08375, allocations: 52.15 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007812/0.09157, allocations: 5.952 MB / 377.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.09523, allocations: 2.257 MB / 379.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.09551, allocations: 24 kB / 379.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.09966, allocations: 1.84 MB / 381.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1011, allocations: 0.6795 MB / 382.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.1033, allocations: 1.105 MB / 383.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1045, allocations: 1.125 MB / 384.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.1056, allocations: 0.8175 MB / 385.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.1062, allocations: 0.4943 MB / 385.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.1069, allocations: 0.5483 MB / 386.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.107, allocations: 100 kB / 386.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.1077, allocations: 403.6 kB / 386.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1079, allocations: 247.1 kB / 387.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.1083, allocations: 465.8 kB / 387.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1101, allocations: 1.666 MB / 389.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1101, allocations: 3.938 kB / 389.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1101, allocations: 0 / 389.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1101, allocations: 0 / 389.3 MB, free: 5.559 MB / 350.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.006337/0.1164, allocations: 1.96 MB / 391.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1165, allocations: 8.922 kB / 391.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.1202, allocations: 0.5153 MB / 391.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1205, allocations: 261 kB / 392 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/0.1206, allocations: 94.95 kB / 392.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.1208, allocations: 132.4 kB / 392.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.1232, allocations: 1.325 MB / 393.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.1233, allocations: 3.953 kB / 393.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1234, allocations: 56 kB / 393.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.1234, allocations: 32 kB / 393.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.1261, allocations: 1.189 MB / 394.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006176/0.1322, allocations: 3.316 MB / 398.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.1344, allocations: 1.154 MB / 399.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009652/0.1354, allocations: 455.7 kB / 399.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1355, allocations: 32.92 kB / 399.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1356, allocations: 43.56 kB / 399.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.1356, allocations: 0 / 399.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01159/0.1472, allocations: 3.553 MB / 403.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.1472, allocations: 90.11 kB / 403.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.1477, allocations: 393.3 kB / 403.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.1478, allocations: 49.7 kB / 403.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.1481, allocations: 468.5 kB / 404.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.1485, allocations: 456.1 kB / 404.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.1488, allocations: 227.5 kB / 405 MB, free: 5.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.149, allocations: 374.8 kB / 405.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.1502, allocations: 435.8 kB / 405.8 MB, free: 4.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.1516, allocations: 0.7131 MB / 406.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.1542, allocations: 1.186 MB / 407.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1542, allocations: 4 kB / 407.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003377/0.1576, allocations: 1.459 MB / 409.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1576, allocations: 11.94 kB / 409.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1576, allocations: 8.047 kB / 409.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.1582, allocations: 205.1 kB / 409.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.1595, allocations: 291.6 kB / 409.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.1641, allocations: 4.057 MB / 413.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.1651, allocations: 83.88 kB / 413.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.1652, allocations: 51.98 kB / 413.9 MB, free: 12.23 MB / 382.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 (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.0004148/0.1656, allocations: 273.5 kB / 414.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1657, allocations: 71.52 kB / 414.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.169, allocations: 1.343 MB / 415.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.169, allocations: 16 kB / 415.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.169, allocations: 4 kB / 415.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.169, allocations: 3.984 kB / 415.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.1737, allocations: 2.185 MB / 417.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1737, allocations: 0 / 417.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.1747, allocations: 215.9 kB / 418 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.1751, allocations: 173.5 kB / 418.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.1752, allocations: 31.92 kB / 418.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/0.1793, allocations: 3.901 MB / 422.1 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1793, allocations: 3.938 kB / 422.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.1835, allocations: 1.865 MB / 423.9 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.1839, allocations: 151.5 kB / 424.1 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.184, allocations: 27.95 kB / 424.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.1847, allocations: 60 kB / 424.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.1849, allocations: 104.8 kB / 424.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.185, allocations: 35.98 kB / 424.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.1853, allocations: 255.2 kB / 424.6 MB, free: 1.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1853, allocations: 0 / 424.6 MB, free: 1.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.1863, allocations: 299.9 kB / 424.9 MB, free: 0.9219 MB / 382.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 (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.0002762/0.1866, allocations: 171 kB / 425 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.1898, allocations: 1.403 MB / 426.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1898, allocations: 0 / 426.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.1914, allocations: 0.8114 MB / 427.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.1919, allocations: 65.59 kB / 427.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.196, allocations: 1.97 MB / 429.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1965, allocations: 416.5 kB / 429.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.197, allocations: 150.6 kB / 429.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.1973, allocations: 76.41 kB / 429.9 MB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1973, allocations: 0 / 429.9 MB, free: 11.74 MB / 398.1 MB Notification: Performance of Templates: time 0.01925/0.2165, allocations: 9.995 MB / 439.9 MB, free: 1.867 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.717038557049818]