Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009298, allocations: 93.45 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 182.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 241.1 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002271, allocations: 9.812 kB / 300.7 MB, free: 6.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08511, allocations: 50.42 MB / 351.2 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004225/0.08937, allocations: 4.042 MB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.09238, allocations: 1.874 MB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.09263, allocations: 16 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.09318, allocations: 238.6 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009882/0.09418, allocations: 498.4 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.09583, allocations: 0.8629 MB / 358.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.09657, allocations: 0.4994 MB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.09849, allocations: 1.098 MB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.09884, allocations: 271 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.09921, allocations: 342.6 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.09927, allocations: 39.94 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.09991, allocations: 307.6 kB / 361.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1, allocations: 127.5 kB / 361.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1001, allocations: 153.3 kB / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008374/0.101, allocations: 0.8612 MB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.101, allocations: 0 / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.101, allocations: 0 / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.101, allocations: 3.938 kB / 362.4 MB, free: 8.551 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003962/0.105, allocations: 1.338 MB / 363.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.105, allocations: 8.031 kB / 363.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.1076, allocations: 390.7 kB / 364.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1078, allocations: 247.7 kB / 364.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.1079, allocations: 66 kB / 364.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.108, allocations: 83.95 kB / 364.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1095, allocations: 0.8796 MB / 365.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1096, allocations: 4 kB / 365.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.1096, allocations: 35.94 kB / 365.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1097, allocations: 20 kB / 365.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.1114, allocations: 0.8238 MB / 366.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.1153, allocations: 2.965 MB / 369.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.1165, allocations: 1.011 MB / 370.2 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.1166, allocations: 93.64 kB / 370.3 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1166, allocations: 47.12 kB / 370.3 MB, free: 116 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.274e-06/0.1167, allocations: 0 / 370.3 MB, free: 116 kB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.1612/0.2778, allocations: 2.672 MB / 373 MB, free: 23.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.2779, allocations: 88.8 kB / 373.1 MB, free: 23.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.2783, allocations: 301.1 kB / 373.4 MB, free: 23.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.2784, allocations: 41.61 kB / 373.4 MB, free: 23.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2786, allocations: 359.7 kB / 373.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.2787, allocations: 215.4 kB / 374 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.2788, allocations: 12.28 kB / 374 MB, free: 22.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.2789, allocations: 348 kB / 374.4 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/0.2797, allocations: 293.7 kB / 374.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.2806, allocations: 0.5233 MB / 375.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.2815, allocations: 360.9 kB / 375.5 MB, free: 22.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2815, allocations: 5.891 kB / 375.5 MB, free: 22.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002058/0.2836, allocations: 0.9458 MB / 376.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2836, allocations: 8.953 kB / 376.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2836, allocations: 6.875 kB / 376.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.2839, allocations: 72.73 kB / 376.6 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.2848, allocations: 209.9 kB / 376.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2862, allocations: 2.673 MB / 379.4 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.2869, allocations: 77.05 kB / 379.5 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.287, allocations: 40.97 kB / 379.5 MB, free: 18.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.2872, allocations: 214.9 kB / 379.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.2873, allocations: 45.53 kB / 379.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2893, allocations: 0.7885 MB / 380.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.2893, allocations: 6.219 kB / 380.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2893, allocations: 5.453 kB / 380.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2894, allocations: 4.172 kB / 380.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.2921, allocations: 1.468 MB / 382.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2921, allocations: 3.625 kB / 382.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.2928, allocations: 149.8 kB / 382.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.293, allocations: 61.59 kB / 382.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.293, allocations: 16.11 kB / 382.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.2942, allocations: 2.662 MB / 385 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2943, allocations: 4.875 kB / 385 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.2969, allocations: 1.152 MB / 386.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.2971, allocations: 163 kB / 386.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.2972, allocations: 10.69 kB / 386.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.2977, allocations: 62.05 kB / 386.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.2979, allocations: 43.34 kB / 386.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.2979, allocations: 20.94 kB / 386.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2981, allocations: 207.8 kB / 386.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2981, allocations: 0 / 386.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.2988, allocations: 172 kB / 386.8 MB, free: 14.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.299, allocations: 163.6 kB / 386.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.3011, allocations: 0.9568 MB / 387.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3011, allocations: 0 / 387.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.3021, allocations: 0.5779 MB / 388.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3023, allocations: 38.47 kB / 388.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3047, allocations: 1.538 MB / 390.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3051, allocations: 0.8965 MB / 390.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004639/0.3055, allocations: 96.56 kB / 391 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3057, allocations: 51.7 kB / 391.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3057, allocations: 0 / 391.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Templates: time 0.009229/0.3149, allocations: 5.793 MB / 396.9 MB, free: 9.523 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches