Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 208.6 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.553/1.553, allocations: 230.4 MB / 250 MB, free: 9.086 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.83 kB / 367.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2573, allocations: 53.31 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.0157/0.273, allocations: 6.739 MB / 427.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007703/0.2807, allocations: 2.456 MB / 429.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.2813, allocations: 24 kB / 429.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007263/0.2885, allocations: 1.885 MB / 431.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.291, allocations: 0.5511 MB / 432.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.2959, allocations: 1.317 MB / 433.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.2983, allocations: 1.113 MB / 434.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.3001, allocations: 0.7203 MB / 435.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009785/0.3011, allocations: 494.1 kB / 436 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3024, allocations: 0.6147 MB / 436.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.3026, allocations: 100 kB / 436.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.3041, allocations: 443.6 kB / 437.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.3044, allocations: 251 kB / 437.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008546/0.3053, allocations: 0.5636 MB / 437.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.3088, allocations: 1.673 MB / 439.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3088, allocations: 0 / 439.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3088, allocations: 0 / 439.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3088, allocations: 0 / 439.6 MB, free: 5.328 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.01238/0.3212, allocations: 2.059 MB / 441.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3212, allocations: 8.031 kB / 441.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/0.3294, allocations: 0.5076 MB / 442.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.33, allocations: 318.7 kB / 442.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.3302, allocations: 94.95 kB / 442.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.3306, allocations: 136.3 kB / 442.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.3357, allocations: 1.3 MB / 444 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.711e-05/0.3357, allocations: 4 kB / 444 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.336, allocations: 56 kB / 444.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.336, allocations: 35.98 kB / 444.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/0.341, allocations: 1.189 MB / 445.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.354, allocations: 4.274 MB / 449.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.3568, allocations: 2.346 MB / 451.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009417/0.3578, allocations: 463.3 kB / 452.4 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.358, allocations: 195.1 kB / 452.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3581, allocations: 47.56 kB / 452.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.196e-06/0.3581, allocations: 0 / 452.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01051/0.3686, allocations: 3.755 MB / 456.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3686, allocations: 98.09 kB / 456.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.3691, allocations: 389.5 kB / 456.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.3692, allocations: 45.7 kB / 456.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.3695, allocations: 472.6 kB / 457.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.3699, allocations: 444.1 kB / 457.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.3703, allocations: 231.5 kB / 458 MB, free: 2.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3705, allocations: 370.8 kB / 458.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3716, allocations: 439.8 kB / 458.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3728, allocations: 0.6918 MB / 459.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.3752, allocations: 1.186 MB / 460.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.3752, allocations: 0 / 460.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003205/0.3784, allocations: 1.459 MB / 462.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3784, allocations: 8 kB / 462.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.3785, allocations: 8 kB / 462.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.3791, allocations: 196.5 kB / 462.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3803, allocations: 291.6 kB / 462.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/0.3853, allocations: 4.371 MB / 467 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.3862, allocations: 87.89 kB / 467.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3863, allocations: 52 kB / 467.1 MB, free: 8.469 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.0004457/0.3867, allocations: 265.5 kB / 467.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3869, allocations: 71.58 kB / 467.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.3901, allocations: 1.339 MB / 468.8 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3901, allocations: 16 kB / 468.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3901, allocations: 7.938 kB / 468.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3901, allocations: 3.984 kB / 468.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.395, allocations: 2.587 MB / 471.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.395, allocations: 3.938 kB / 471.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009945/0.396, allocations: 211.8 kB / 471.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.3965, allocations: 173.5 kB / 471.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.3966, allocations: 24 kB / 471.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/0.401, allocations: 4.182 MB / 476 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.401, allocations: 8 kB / 476 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.405, allocations: 1.857 MB / 477.8 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.4053, allocations: 232.7 kB / 478.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.4055, allocations: 28 kB / 478.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.4062, allocations: 59.94 kB / 478.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.4064, allocations: 92.81 kB / 478.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.4064, allocations: 35.98 kB / 478.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003323/0.4068, allocations: 267.2 kB / 478.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4068, allocations: 288 / 478.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001129/0.4079, allocations: 308 kB / 478.8 MB, free: 12.28 MB / 398.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.0003225/0.4082, allocations: 174 kB / 479 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.4113, allocations: 1.403 MB / 480.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4113, allocations: 0 / 480.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.4128, allocations: 0.8115 MB / 481.2 MB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4134, allocations: 65.55 kB / 481.3 MB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.4176, allocations: 1.973 MB / 483.3 MB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.4184, allocations: 1.009 MB / 484.3 MB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006056/0.419, allocations: 146.6 kB / 484.4 MB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.4192, allocations: 71.42 kB / 484.5 MB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4192, allocations: 0 / 484.5 MB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.0214/0.4406, allocations: 10.55 MB / 495 MB, free: 11.99 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches