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.001928/0.001928, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002366/0.002366, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001649/0.001649, allocations: 47.92 kB / 378.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2219, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008387/0.2303, allocations: 5.954 MB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.2346, allocations: 2.323 MB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.2349, allocations: 20 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.2391, allocations: 1.746 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2404, allocations: 0.5394 MB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.243, allocations: 1.247 MB / 443.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2445, allocations: 1.113 MB / 444.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.2458, allocations: 0.8172 MB / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.2464, allocations: 0.4942 MB / 445.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.2471, allocations: 0.5483 MB / 446.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.2473, allocations: 100 kB / 446.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009288/0.2482, allocations: 423.6 kB / 446.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2484, allocations: 251.1 kB / 447.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.2489, allocations: 461.8 kB / 447.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.2511, allocations: 1.675 MB / 449.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2511, allocations: 3.938 kB / 449.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2511, allocations: 0 / 449.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2512, allocations: 4 kB / 449.3 MB, free: 4.98 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.006437/0.2576, allocations: 1.976 MB / 451.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2576, allocations: 8.031 kB / 451.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/0.2613, allocations: 499.7 kB / 451.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.2616, allocations: 252.8 kB / 452 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.2617, allocations: 98.95 kB / 452.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.262, allocations: 132.3 kB / 452.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.2645, allocations: 1.329 MB / 453.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.2646, allocations: 4 kB / 453.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.2647, allocations: 48 kB / 453.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.2647, allocations: 32 kB / 453.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.2673, allocations: 1.185 MB / 454.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006838/0.2742, allocations: 3.349 MB / 458.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.2765, allocations: 1.135 MB / 459.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/0.2774, allocations: 460.7 kB / 459.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.2776, allocations: 40.91 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.2776, allocations: 47.56 kB / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.336e-06/0.2776, allocations: 0 / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01126/0.2889, allocations: 3.532 MB / 463.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.2889, allocations: 90.11 kB / 463.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.2894, allocations: 389.3 kB / 463.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.2895, allocations: 49.7 kB / 463.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.2899, allocations: 476.5 kB / 464.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.2903, allocations: 444.1 kB / 464.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.2906, allocations: 235.5 kB / 465 MB, free: 4.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.2908, allocations: 366.8 kB / 465.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.292, allocations: 435.8 kB / 465.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.2935, allocations: 0.7092 MB / 466.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.296, allocations: 1.186 MB / 467.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2961, allocations: 4 kB / 467.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003242/0.2993, allocations: 1.455 MB / 469.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2993, allocations: 19.81 kB / 469.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2993, allocations: 8 kB / 469.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.2999, allocations: 197.5 kB / 469.4 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3012, allocations: 283.6 kB / 469.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.3059, allocations: 4.065 MB / 473.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.3068, allocations: 79.88 kB / 473.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.3069, allocations: 51.98 kB / 473.9 MB, free: 11.68 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.0004458/0.3073, allocations: 277.5 kB / 474.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3075, allocations: 71.53 kB / 474.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.3107, allocations: 1.323 MB / 475.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.3107, allocations: 12 kB / 475.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3107, allocations: 4 kB / 475.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3107, allocations: 11.97 kB / 475.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.3153, allocations: 2.182 MB / 477.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3153, allocations: 0 / 477.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.3163, allocations: 211.7 kB / 477.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.3168, allocations: 169.5 kB / 478.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.3169, allocations: 27.98 kB / 478.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004247/0.3211, allocations: 3.901 MB / 482 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.3211, allocations: 3.938 kB / 482 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.3252, allocations: 1.865 MB / 483.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.3255, allocations: 155.5 kB / 484 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3256, allocations: 20.11 kB / 484.1 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.3263, allocations: 59.89 kB / 484.1 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.3265, allocations: 100.8 kB / 484.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.3266, allocations: 35.98 kB / 484.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.3269, allocations: 259.2 kB / 484.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 0 / 484.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00109/0.328, allocations: 303.9 kB / 484.8 MB, free: 412 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.0002984/0.3283, allocations: 175 kB / 485 MB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.3313, allocations: 1.395 MB / 486.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3313, allocations: 0 / 486.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.3329, allocations: 0.8076 MB / 487.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.3334, allocations: 69.42 kB / 487.3 MB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.3374, allocations: 1.885 MB / 489.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3378, allocations: 420.3 kB / 489.5 MB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005822/0.3384, allocations: 138.6 kB / 489.7 MB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.3387, allocations: 83.39 kB / 489.8 MB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3387, allocations: 0 / 489.8 MB, free: 11.31 MB / 398.1 MB Notification: Performance of Templates: time 0.02136/0.36, allocations: 11.42 MB / 0.4894 GB, free: 16 kB / 398.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: 4.9212760627269745]