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.001686/0.001686, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002025/0.002025, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.398/1.398, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.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.001526/0.001526, allocations: 51.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2518, allocations: 52.12 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009156/0.2609, allocations: 6.776 MB / 427.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.2655, allocations: 2.409 MB / 430.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.2658, allocations: 24 kB / 430.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.27, allocations: 1.881 MB / 432 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.2717, allocations: 0.7145 MB / 432.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.2741, allocations: 1.176 MB / 433.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.2756, allocations: 1.128 MB / 435 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2767, allocations: 0.7218 MB / 435.7 MB, free: 260 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.2773, allocations: 478.2 kB / 436.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.278, allocations: 0.6225 MB / 436.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.2781, allocations: 100 kB / 436.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.2789, allocations: 427.6 kB / 437.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.2791, allocations: 255 kB / 437.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.2797, allocations: 0.5597 MB / 438.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.2819, allocations: 1.657 MB / 439.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2819, allocations: 0 / 439.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2819, allocations: 0 / 439.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.2819, allocations: 3.938 kB / 439.8 MB, free: 12.17 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.006526/0.2884, allocations: 2.039 MB / 441.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.2885, allocations: 12.03 kB / 441.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.2921, allocations: 0.5153 MB / 442.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.2925, allocations: 306.9 kB / 442.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2926, allocations: 94.95 kB / 442.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.2929, allocations: 128.4 kB / 442.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.2956, allocations: 1.304 MB / 444.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.2956, allocations: 7.938 kB / 444.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.2957, allocations: 59.92 kB / 444.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.2958, allocations: 32 kB / 444.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.2984, allocations: 1.197 MB / 445.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/0.3054, allocations: 4.183 MB / 449.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.3084, allocations: 2.355 MB / 452 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009518/0.3094, allocations: 452.8 kB / 452.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.3095, allocations: 110.1 kB / 452.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3096, allocations: 43.56 kB / 452.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.3096, allocations: 4 kB / 452.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01154/0.3211, allocations: 3.785 MB / 456.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.3212, allocations: 94.05 kB / 456.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.3217, allocations: 393.5 kB / 456.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.3218, allocations: 45.7 kB / 456.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.3223, allocations: 468.6 kB / 457.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.3227, allocations: 452.2 kB / 457.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.3231, allocations: 227.5 kB / 458 MB, free: 9.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.3234, allocations: 378.8 kB / 458.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3245, allocations: 431.8 kB / 458.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3258, allocations: 0.7035 MB / 459.5 MB, free: 7.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.3283, allocations: 1.183 MB / 460.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3283, allocations: 0 / 460.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003204/0.3315, allocations: 1.478 MB / 462.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3315, allocations: 8 kB / 462.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3315, allocations: 8 kB / 462.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.3321, allocations: 193.6 kB / 462.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3333, allocations: 287.6 kB / 462.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.3383, allocations: 4.379 MB / 467 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.3392, allocations: 83.97 kB / 467.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/0.3393, allocations: 59.97 kB / 467.2 MB, free: 15.47 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.0004538/0.3398, allocations: 265.4 kB / 467.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3399, allocations: 71.77 kB / 467.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.3431, allocations: 1.339 MB / 468.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3431, allocations: 19.92 kB / 468.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3431, allocations: 7.938 kB / 468.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3431, allocations: 7.984 kB / 468.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/0.348, allocations: 2.602 MB / 471.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.348, allocations: 7.875 kB / 471.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.349, allocations: 215.7 kB / 471.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.3495, allocations: 161.7 kB / 471.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.3496, allocations: 31.98 kB / 471.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.3542, allocations: 4.184 MB / 476.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3542, allocations: 3.938 kB / 476.1 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.3583, allocations: 1.877 MB / 478 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.3587, allocations: 232.5 kB / 478.2 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.3588, allocations: 20 kB / 478.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.3595, allocations: 68 kB / 478.3 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.3598, allocations: 84.88 kB / 478.4 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.3599, allocations: 39.98 kB / 478.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003182/0.3602, allocations: 263.2 kB / 478.7 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3602, allocations: 0 / 478.7 MB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001123/0.3613, allocations: 315.9 kB / 479 MB, free: 3.23 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.0002955/0.3616, allocations: 167.5 kB / 479.1 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.3648, allocations: 1.403 MB / 480.5 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3648, allocations: 0 / 480.5 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.3664, allocations: 0.8192 MB / 481.3 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.3669, allocations: 73.67 kB / 481.4 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.371, allocations: 1.97 MB / 483.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.3717, allocations: 1.001 MB / 484.4 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.3723, allocations: 150.6 kB / 484.5 MB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.3726, allocations: 75.41 kB / 484.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3726, allocations: 0 / 484.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.01957/0.3921, allocations: 10.89 MB / 495.5 MB, free: 2.598 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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.791400970891118]