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.001808/0.001808, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.002115/0.002115, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.461/1.461, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.001503/0.001503, allocations: 52.06 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.101, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008513/0.1095, allocations: 6.745 MB / 425.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.1145, allocations: 2.413 MB / 428.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/0.1154, allocations: 20 kB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.1202, allocations: 1.881 MB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.1225, allocations: 0.7066 MB / 430.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1252, allocations: 1.178 MB / 431.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.127, allocations: 1.121 MB / 433 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1282, allocations: 0.7242 MB / 433.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.1289, allocations: 486.1 kB / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.1296, allocations: 0.6225 MB / 434.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.1297, allocations: 100 kB / 435 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.1307, allocations: 423.6 kB / 435.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.131, allocations: 251 kB / 435.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.1315, allocations: 0.5636 MB / 436.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1336, allocations: 1.65 MB / 437.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1336, allocations: 0 / 437.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1336, allocations: 0 / 437.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1337, allocations: 4 kB / 437.8 MB, free: 9.156 MB / 366.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.006469/0.1401, allocations: 2.039 MB / 439.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1402, allocations: 12.03 kB / 439.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.1438, allocations: 0.5192 MB / 440.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1442, allocations: 314.6 kB / 440.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1443, allocations: 94.95 kB / 440.8 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.1446, allocations: 128.4 kB / 440.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.1472, allocations: 1.296 MB / 442.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.1473, allocations: 11.95 kB / 442.2 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.1474, allocations: 52 kB / 442.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.1474, allocations: 31.94 kB / 442.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.15, allocations: 1.197 MB / 443.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2242/0.3742, allocations: 4.19 MB / 447.7 MB, free: 28.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.3763, allocations: 2.349 MB / 450 MB, free: 26.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000858/0.3772, allocations: 459.1 kB / 450.5 MB, free: 26.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.3773, allocations: 107.7 kB / 450.6 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3773, allocations: 45.44 kB / 450.6 MB, free: 26.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.518e-06/0.3773, allocations: 0.7031 kB / 450.6 MB, free: 26.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01107/0.3884, allocations: 3.794 MB / 454.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3885, allocations: 91.72 kB / 454.5 MB, free: 25.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.389, allocations: 395.1 kB / 454.9 MB, free: 25.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.3891, allocations: 46.86 kB / 455 MB, free: 25.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.3894, allocations: 466.5 kB / 455.4 MB, free: 25.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.3897, allocations: 452.9 kB / 455.9 MB, free: 24.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.3901, allocations: 229 kB / 456.1 MB, free: 24.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3902, allocations: 381.9 kB / 456.5 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3913, allocations: 432.7 kB / 456.9 MB, free: 24.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3926, allocations: 0.699 MB / 457.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.395, allocations: 1.178 MB / 458.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.395, allocations: 2.188 kB / 458.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003261/0.3983, allocations: 1.464 MB / 460.2 MB, free: 22.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3983, allocations: 8.531 kB / 460.2 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3983, allocations: 7.969 kB / 460.2 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.3989, allocations: 200.5 kB / 460.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4002, allocations: 288.9 kB / 460.7 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.4038, allocations: 4.376 MB / 465.1 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4049, allocations: 85.5 kB / 465.2 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.405, allocations: 56.23 kB / 465.2 MB, free: 18.75 MB / 366.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.0004217/0.4054, allocations: 265.3 kB / 465.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4055, allocations: 68.3 kB / 465.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.4086, allocations: 1.343 MB / 466.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.4087, allocations: 16.91 kB / 466.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.4087, allocations: 8.172 kB / 466.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.4087, allocations: 6.422 kB / 466.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.4134, allocations: 2.6 MB / 469.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4134, allocations: 1.062 kB / 469.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.4145, allocations: 221.8 kB / 469.7 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.415, allocations: 164.7 kB / 469.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.415, allocations: 29.62 kB / 469.9 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.4183, allocations: 4.188 MB / 474.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4183, allocations: 9.438 kB / 474.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.4222, allocations: 1.862 MB / 476 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.4226, allocations: 237.5 kB / 476.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.4227, allocations: 23.31 kB / 476.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.4234, allocations: 61.39 kB / 476.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.4236, allocations: 94.89 kB / 476.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.4237, allocations: 37.05 kB / 476.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.424, allocations: 271.9 kB / 476.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.424, allocations: 0 / 476.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001244/0.4253, allocations: 305.8 kB / 477 MB, free: 11.56 MB / 366.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.0003076/0.4256, allocations: 173.3 kB / 477.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.4287, allocations: 1.402 MB / 478.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4287, allocations: 0 / 478.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.4302, allocations: 0.8213 MB / 479.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.4308, allocations: 72.67 kB / 479.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.4348, allocations: 2 MB / 481.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4353, allocations: 1.002 MB / 482.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.4357, allocations: 96.2 kB / 482.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4357, allocations: 4 kB / 482.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of Templates: time 0.02355/0.4592, allocations: 19.71 MB / 0.4905 GB, free: 8.641 MB / 382.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.213864015880972]