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.001443/0.001444, allocations: 115.9 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 61.09 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09568, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007652/0.1034, allocations: 6.702 MB / 365.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.1076, allocations: 2.448 MB / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.108, allocations: 24 kB / 368.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.1119, allocations: 1.882 MB / 370 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1133, allocations: 0.5473 MB / 370.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.1157, allocations: 1.329 MB / 371.8 MB, free: 336 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1529/0.2686, allocations: 1.115 MB / 373 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.2705, allocations: 0.9307 MB / 373.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.2714, allocations: 490.2 kB / 374.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.2721, allocations: 0.6151 MB / 375 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.2723, allocations: 99.47 kB / 375.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.2733, allocations: 448 kB / 375.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.2735, allocations: 250.4 kB / 375.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.274, allocations: 0.5634 MB / 376.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.2763, allocations: 1.667 MB / 378 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2763, allocations: 0.5312 kB / 378 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2763, allocations: 0 / 378 MB, free: 9.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.2763, allocations: 2.875 kB / 378 MB, free: 9.254 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.006072/0.2824, allocations: 2.022 MB / 380 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2825, allocations: 10.06 kB / 380 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.2859, allocations: 0.5055 MB / 380.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2863, allocations: 314 kB / 380.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.2864, allocations: 96.23 kB / 380.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.2866, allocations: 129.1 kB / 381.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.289, allocations: 1.296 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.2891, allocations: 9.812 kB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.937e-05/0.2892, allocations: 52.27 kB / 382.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.2892, allocations: 36.8 kB / 382.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.2916, allocations: 1.195 MB / 383.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006104/0.2977, allocations: 4.253 MB / 387.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.2998, allocations: 2.448 MB / 390.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.3007, allocations: 0.5095 MB / 390.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.3009, allocations: 187 kB / 391 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3009, allocations: 51.33 kB / 391.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.486e-06/0.3009, allocations: 1.25 kB / 391.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009089/0.31, allocations: 3.76 MB / 394.8 MB, free: 420 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3101, allocations: 89.67 kB / 394.9 MB, free: 320 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.3105, allocations: 396 kB / 395.3 MB, free: 84 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.3106, allocations: 47.08 kB / 395.4 MB, free: 36 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.3109, allocations: 451 kB / 395.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.3112, allocations: 424.9 kB / 396.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.3115, allocations: 232.6 kB / 396.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3117, allocations: 376.2 kB / 396.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/0.3126, allocations: 430.1 kB / 397.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3136, allocations: 0.6958 MB / 397.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.3156, allocations: 1.175 MB / 399.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.3156, allocations: 2.281 kB / 399.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002635/0.3182, allocations: 1.463 MB / 400.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3183, allocations: 17.59 kB / 400.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3183, allocations: 6.219 kB / 400.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.3188, allocations: 198 kB / 400.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.3199, allocations: 286.9 kB / 401.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.3239, allocations: 4.375 MB / 405.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.3249, allocations: 80.19 kB / 405.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.325, allocations: 51.98 kB / 405.6 MB, free: 8.18 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.000432/0.3254, allocations: 275.6 kB / 405.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3256, allocations: 67.16 kB / 405.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.3283, allocations: 1.342 MB / 407.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3283, allocations: 12 kB / 407.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3283, allocations: 7.938 kB / 407.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3284, allocations: 7.969 kB / 407.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.3326, allocations: 2.597 MB / 409.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.3326, allocations: 4 kB / 409.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.3335, allocations: 211 kB / 410.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.334, allocations: 169.7 kB / 410.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.334, allocations: 27.98 kB / 410.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.3378, allocations: 4.177 MB / 414.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3378, allocations: 3.938 kB / 414.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.3413, allocations: 1.865 MB / 416.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.3417, allocations: 228.2 kB / 416.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3418, allocations: 24 kB / 416.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.3424, allocations: 60.02 kB / 416.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.3426, allocations: 88.88 kB / 416.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.3427, allocations: 35.98 kB / 416.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.343, allocations: 270 kB / 417 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.343, allocations: 0 / 417 MB, free: 12.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001196/0.3442, allocations: 307.9 kB / 417.3 MB, free: 12.11 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.0003125/0.3445, allocations: 178.8 kB / 417.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.3473, allocations: 1.451 MB / 418.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3473, allocations: 0 / 418.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.3487, allocations: 0.8651 MB / 419.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.3493, allocations: 80.94 kB / 419.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.353, allocations: 1.93 MB / 421.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.3536, allocations: 1.005 MB / 422.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005606/0.3541, allocations: 142.6 kB / 423 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.3544, allocations: 75.41 kB / 423 MB, free: 6.34 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3544, allocations: 0 / 423 MB, free: 6.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01686/0.3713, allocations: 10.14 MB / 433.2 MB, free: 12.29 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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