Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 208.1 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.232, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008338/0.2403, allocations: 5.939 MB / 437.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.2448, allocations: 2.323 MB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.2452, allocations: 28 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.2493, allocations: 1.746 MB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.2506, allocations: 0.5395 MB / 442.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.2533, allocations: 1.244 MB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.2546, allocations: 1.121 MB / 444.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.2558, allocations: 0.825 MB / 445.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.2564, allocations: 0.4943 MB / 445.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.2572, allocations: 0.6225 MB / 446.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2573, allocations: 100 kB / 446.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008236/0.2581, allocations: 435.6 kB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.2584, allocations: 255.1 kB / 447.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.2588, allocations: 465.8 kB / 447.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.2607, allocations: 1.68 MB / 449.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2607, allocations: 0 / 449.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2607, allocations: 0 / 449.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2608, allocations: 0 / 449.4 MB, free: 4.848 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.006339/0.2671, allocations: 1.98 MB / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2671, allocations: 8.031 kB / 451.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.2707, allocations: 495.7 kB / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.271, allocations: 252.8 kB / 452.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.2711, allocations: 98.95 kB / 452.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.2713, allocations: 132.3 kB / 452.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.2738, allocations: 1.333 MB / 453.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.2738, allocations: 3.938 kB / 453.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.274, allocations: 52 kB / 453.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.274, allocations: 32 kB / 453.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.2766, allocations: 1.181 MB / 454.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.283, allocations: 3.341 MB / 458.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.2852, allocations: 1.143 MB / 459.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009378/0.2862, allocations: 456.7 kB / 459.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.2863, allocations: 40.91 kB / 459.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.2863, allocations: 47.5 kB / 459.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.855e-06/0.2863, allocations: 4 kB / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01052/0.2969, allocations: 3.536 MB / 463.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.2969, allocations: 90.11 kB / 463.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.2975, allocations: 389.3 kB / 464 MB, free: 6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.2975, allocations: 45.7 kB / 464 MB, free: 5.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.2979, allocations: 472.5 kB / 464.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.2983, allocations: 444.2 kB / 464.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.2986, allocations: 235.5 kB / 465.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2988, allocations: 366.8 kB / 465.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2999, allocations: 431.8 kB / 465.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.3013, allocations: 0.7247 MB / 466.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.3038, allocations: 1.183 MB / 467.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3038, allocations: 0 / 467.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003104/0.3069, allocations: 1.459 MB / 469.3 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3069, allocations: 11.94 kB / 469.3 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3069, allocations: 8 kB / 469.3 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.3075, allocations: 193.6 kB / 469.5 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3088, allocations: 287.6 kB / 469.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/0.3137, allocations: 4.068 MB / 473.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.3146, allocations: 88.08 kB / 473.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.3146, allocations: 51.98 kB / 474 MB, free: 11.53 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.0004754/0.3151, allocations: 277.3 kB / 474.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3153, allocations: 67.58 kB / 474.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.3184, allocations: 1.327 MB / 475.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3184, allocations: 12 kB / 475.6 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3184, allocations: 4 kB / 475.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3185, allocations: 7.969 kB / 475.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.3231, allocations: 2.181 MB / 477.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/0.3232, allocations: 4 kB / 477.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.3242, allocations: 211.7 kB / 478 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.3246, allocations: 169.7 kB / 478.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.3247, allocations: 27.98 kB / 478.2 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/0.329, allocations: 3.893 MB / 482.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.329, allocations: 4 kB / 482.1 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.333, allocations: 1.857 MB / 484 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.3334, allocations: 155.5 kB / 484.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3335, allocations: 24 kB / 484.2 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.3341, allocations: 60.02 kB / 484.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.3343, allocations: 100.7 kB / 484.3 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.3344, allocations: 39.98 kB / 484.4 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.3347, allocations: 251.2 kB / 484.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3347, allocations: 0 / 484.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3358, allocations: 307.9 kB / 484.9 MB, free: 276 kB / 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.000325/0.3362, allocations: 179 kB / 485.1 MB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003026/0.3392, allocations: 1.391 MB / 486.5 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3392, allocations: 0 / 486.5 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.3407, allocations: 0.816 MB / 487.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.3413, allocations: 73.55 kB / 487.4 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.3452, allocations: 1.877 MB / 489.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3457, allocations: 416.3 kB / 489.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.3462, allocations: 142.6 kB / 489.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.3465, allocations: 87.39 kB / 489.9 MB, free: 11.17 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3465, allocations: 3.938 kB / 489.9 MB, free: 11.16 MB / 398.1 MB Notification: Performance of Templates: time 0.02223/0.3687, allocations: 11.8 MB / 0.4899 GB, free: 15.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.01267402106896]