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) 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.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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 114.2 kB / 16.63 MB, free: 6.816 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.0009386/0.0009386, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.291/1.291, allocations: 222.9 MB / 241.2 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009226/0.0009227, allocations: 54.38 kB / 300.1 MB, free: 5.941 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08092, allocations: 49.45 MB / 349.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007031/0.08799, allocations: 6.643 MB / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.09145, allocations: 2.366 MB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.09173, allocations: 24 kB / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.09529, allocations: 1.759 MB / 360.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.09666, allocations: 0.6296 MB / 361 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.09867, allocations: 1.097 MB / 362.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.09969, allocations: 1.113 MB / 363.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.101, allocations: 1.064 MB / 364.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.1015, allocations: 490.1 kB / 364.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005702/0.1021, allocations: 0.6225 MB / 365.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.1022, allocations: 100 kB / 365.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.1029, allocations: 419.7 kB / 365.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.103, allocations: 247 kB / 366.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.1035, allocations: 0.5636 MB / 366.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.1049, allocations: 1.631 MB / 368.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1049, allocations: 4 kB / 368.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1049, allocations: 4 kB / 368.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1049, allocations: 0 / 368.3 MB, free: 1.648 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.1488/0.2537, allocations: 2.015 MB / 370.4 MB, free: 24.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2538, allocations: 9.438 kB / 370.4 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.2577, allocations: 0.5057 MB / 370.9 MB, free: 24.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.258, allocations: 303.5 kB / 371.2 MB, free: 24.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2581, allocations: 101 kB / 371.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.2584, allocations: 132.2 kB / 371.4 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.2611, allocations: 1.303 MB / 372.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.2612, allocations: 3.203 kB / 372.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2613, allocations: 56.12 kB / 372.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.2613, allocations: 31.47 kB / 372.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.2637, allocations: 1.196 MB / 374 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.2696, allocations: 4.225 MB / 378.2 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.2718, allocations: 2.442 MB / 380.6 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009485/0.2728, allocations: 0.5056 MB / 381.2 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.2729, allocations: 110.6 kB / 381.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.273, allocations: 45.97 kB / 381.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.273, allocations: 0 / 381.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01142/0.2844, allocations: 3.789 MB / 385.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2845, allocations: 90.39 kB / 385.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.285, allocations: 392.3 kB / 385.6 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.285, allocations: 44.73 kB / 385.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.2853, allocations: 455.3 kB / 386.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.2855, allocations: 425.7 kB / 386.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.2858, allocations: 233.2 kB / 386.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.2859, allocations: 375.3 kB / 387.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/0.2869, allocations: 436.9 kB / 387.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.2881, allocations: 0.6905 MB / 388.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.2903, allocations: 1.182 MB / 389.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2903, allocations: 2.219 kB / 389.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002753/0.2931, allocations: 1.471 MB / 390.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2931, allocations: 11.44 kB / 390.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2931, allocations: 12.03 kB / 390.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.2936, allocations: 195.6 kB / 391.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.2948, allocations: 300.1 kB / 391.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.298, allocations: 4.378 MB / 395.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.2989, allocations: 78.42 kB / 395.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.299, allocations: 55.86 kB / 395.9 MB, free: 9.352 MB / 302.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.000342/0.2993, allocations: 264.4 kB / 396.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2994, allocations: 68.23 kB / 396.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.3021, allocations: 1.355 MB / 397.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3022, allocations: 11.44 kB / 397.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3022, allocations: 8.406 kB / 397.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3022, allocations: 11.91 kB / 397.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.306, allocations: 2.621 MB / 400.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.306, allocations: 4 kB / 400.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/0.307, allocations: 215.7 kB / 400.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.3073, allocations: 177.3 kB / 400.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.3074, allocations: 31.98 kB / 400.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.31, allocations: 4.173 MB / 404.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.31, allocations: 4 kB / 404.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.3134, allocations: 1.874 MB / 406.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.3137, allocations: 236.1 kB / 406.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3138, allocations: 24.22 kB / 406.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.3145, allocations: 64.89 kB / 407 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.3147, allocations: 92.91 kB / 407.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.3148, allocations: 47.86 kB / 407.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.3151, allocations: 263.2 kB / 407.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 407.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3161, allocations: 300 kB / 407.7 MB, free: 14.66 MB / 318.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.0002841/0.3164, allocations: 192.5 kB / 407.8 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.3201, allocations: 1.497 MB / 409.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3201, allocations: 0 / 409.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.3217, allocations: 0.8623 MB / 410.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.3222, allocations: 73.48 kB / 410.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.3261, allocations: 2.441 MB / 412.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.3267, allocations: 1.005 MB / 413.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007667/0.3275, allocations: 146.6 kB / 413.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.3277, allocations: 75.41 kB / 413.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3277, allocations: 0 / 413.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of Templates: time 0.01731/0.345, allocations: 10.22 MB / 424.2 MB, free: 14.11 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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) 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) Reference file matches