Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.3 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.78 kB / 306.3 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.0847, allocations: 50.54 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007466/0.09221, allocations: 6.643 MB / 363.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.09623, allocations: 2.452 MB / 365.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.09703, allocations: 28 kB / 365.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.1008, allocations: 1.771 MB / 367.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.1025, allocations: 481.5 kB / 368.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.1053, allocations: 1.292 MB / 369.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1069, allocations: 1.066 MB / 370.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1386/0.2454, allocations: 0.8486 MB / 371.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006617/0.2461, allocations: 459.8 kB / 371.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2467, allocations: 0.5974 MB / 372.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2469, allocations: 76.72 kB / 372.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.2478, allocations: 416.5 kB / 372.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2479, allocations: 226.3 kB / 373.1 MB, free: 9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.2484, allocations: 0.5397 MB / 373.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.25, allocations: 1.623 MB / 375.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.25, allocations: 1.062 kB / 375.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.25, allocations: 0.8438 kB / 375.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.2501, allocations: 0 / 375.3 MB, free: 8.672 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006003/0.2561, allocations: 2.03 MB / 377.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2561, allocations: 9 kB / 377.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.2597, allocations: 0.5051 MB / 377.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.26, allocations: 313.9 kB / 378.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.26, allocations: 99.8 kB / 378.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.2602, allocations: 129.7 kB / 378.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.2625, allocations: 1.295 MB / 379.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.2625, allocations: 14.5 kB / 379.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.2626, allocations: 48.53 kB / 379.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.2627, allocations: 31.12 kB / 379.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.265, allocations: 1.195 MB / 381 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/0.2708, allocations: 4.304 MB / 385.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2729, allocations: 2.439 MB / 387.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.2737, allocations: 0.5083 MB / 388.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.2739, allocations: 189.4 kB / 388.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2739, allocations: 45.38 kB / 388.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 2.565e-06/0.2739, allocations: 0 / 388.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009311/0.2832, allocations: 3.763 MB / 392.2 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.2833, allocations: 90.48 kB / 392.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.2837, allocations: 396.7 kB / 392.7 MB, free: 320 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.2837, allocations: 45.83 kB / 392.7 MB, free: 272 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2839, allocations: 450.1 kB / 393.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.2842, allocations: 426.1 kB / 393.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2846, allocations: 224.7 kB / 393.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2847, allocations: 376.7 kB / 394.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.2858, allocations: 438.8 kB / 394.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.2869, allocations: 0.6903 MB / 395.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.2891, allocations: 1.177 MB / 396.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.2891, allocations: 2.219 kB / 396.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002822/0.292, allocations: 1.472 MB / 397.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.292, allocations: 13.91 kB / 397.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.292, allocations: 5.969 kB / 397.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.2925, allocations: 203.4 kB / 398.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.2937, allocations: 282.5 kB / 398.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.2974, allocations: 3.97 MB / 402.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.2983, allocations: 78.48 kB / 402.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.2984, allocations: 55.98 kB / 402.5 MB, free: 9.117 MB / 318.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.0004163/0.2988, allocations: 271.5 kB / 402.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2989, allocations: 68.88 kB / 402.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3017, allocations: 1.34 MB / 404.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3017, allocations: 10.84 kB / 404.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3017, allocations: 4.875 kB / 404.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3018, allocations: 3.984 kB / 404.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.3061, allocations: 2.625 MB / 406.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3061, allocations: 0 / 406.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/0.3071, allocations: 210.2 kB / 407 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.3075, allocations: 165.3 kB / 407.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.3076, allocations: 31.98 kB / 407.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/0.3109, allocations: 3.77 MB / 411 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3109, allocations: 3.938 kB / 411 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.3146, allocations: 1.865 MB / 412.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.3149, allocations: 224.3 kB / 413.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.315, allocations: 28.02 kB / 413.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.3157, allocations: 71.94 kB / 413.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.3159, allocations: 92.72 kB / 413.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.316, allocations: 35.98 kB / 413.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.3162, allocations: 263.2 kB / 413.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3163, allocations: 4 kB / 413.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001099/0.3174, allocations: 300 kB / 413.9 MB, free: 14.31 MB / 334.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.0002878/0.3177, allocations: 182.6 kB / 414.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.3204, allocations: 1.45 MB / 415.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3205, allocations: 0 / 415.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.3219, allocations: 0.8532 MB / 416.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3225, allocations: 81.77 kB / 416.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.3265, allocations: 2.44 MB / 418.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.3271, allocations: 1.009 MB / 419.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000759/0.3279, allocations: 134.6 kB / 420 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.3281, allocations: 75.41 kB / 420.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3281, allocations: 0 / 420.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Templates: time 0.01677/0.3449, allocations: 9.725 MB / 429.8 MB, free: 14.4 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches