Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 240.3 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008064, allocations: 96.7 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 7.938 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1919, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09287/0.2849, allocations: 81.47 MB / 483 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.2851, allocations: 83.95 kB / 483 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03273/0.3179, allocations: 12.26 MB / 495.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3179, allocations: 0 / 495.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3179, allocations: 16 kB / 495.3 MB, free: 2.586 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001425/0.3194, allocations: 0.7758 MB / 496.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3194, allocations: 12.03 kB / 496.1 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.3195, allocations: 55.34 kB / 496.2 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.3201, allocations: 351.5 kB / 496.5 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.3201, allocations: 41.31 kB / 496.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.3202, allocations: 48 kB / 496.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.321, allocations: 434.5 kB / 497 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.321, allocations: 0 / 497 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.3211, allocations: 20 kB / 497 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3211, allocations: 19.95 kB / 497 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.3219, allocations: 405 kB / 497.4 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.3243, allocations: 1.593 MB / 499 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.3251, allocations: 419 kB / 499.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3252, allocations: 4.328 kB / 499.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3252, allocations: 42.83 kB / 499.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.3252, allocations: 0 / 499.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003191/0.3284, allocations: 1.294 MB / 0.4891 GB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3284, allocations: 55.97 kB / 0.4891 GB, free: 12.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3288, allocations: 360.6 kB / 0.4894 GB, free: 12.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3288, allocations: 33.7 kB / 0.4895 GB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.329, allocations: 295.8 kB / 0.4898 GB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3291, allocations: 189.3 kB / 0.4899 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3292, allocations: 16 kB / 0.49 GB, free: 11.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3293, allocations: 354.8 kB / 0.4903 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.3297, allocations: 189.2 kB / 0.4905 GB, free: 11.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.3302, allocations: 302.2 kB / 0.4908 GB, free: 11.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.3307, allocations: 230 kB / 0.491 GB, free: 10.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3307, allocations: 0 / 0.491 GB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001465/0.3322, allocations: 0.7577 MB / 0.4917 GB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3322, allocations: 6.812 kB / 0.4917 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3322, allocations: 8 kB / 0.4917 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.3328, allocations: 202.4 kB / 0.4919 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.3333, allocations: 111.9 kB / 0.492 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.3371, allocations: 3.996 MB / 0.4959 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.3376, allocations: 39.97 kB / 0.496 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.3376, allocations: 20 kB / 0.496 GB, free: 5.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.3379, allocations: 196.2 kB / 0.4962 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.3379, allocations: 47.44 kB / 0.4962 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3381, allocations: 61.02 kB / 0.4963 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3381, allocations: 8 kB / 0.4963 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.3381, allocations: 4 kB / 0.4963 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3381, allocations: 0 / 0.4963 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.3402, allocations: 1.311 MB / 0.4976 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3403, allocations: 4 kB / 0.4976 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.3406, allocations: 67.95 kB / 0.4976 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.341, allocations: 178.4 kB / 0.4978 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.341, allocations: 8 kB / 0.4978 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1917/0.5328, allocations: 3.879 MB / 0.5016 GB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5328, allocations: 4 kB / 0.5016 GB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.5343, allocations: 0.7607 MB / 0.5024 GB, free: 97.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5344, allocations: 121.1 kB / 0.5025 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.5345, allocations: 14.09 kB / 0.5025 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.5348, allocations: 30.97 kB / 0.5025 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.535, allocations: 44.97 kB / 0.5026 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.535, allocations: 18 kB / 0.5026 GB, free: 97.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003209/0.5353, allocations: 270.6 kB / 0.5028 GB, free: 97.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5353, allocations: 0 / 0.5028 GB, free: 97.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007284/0.5361, allocations: 158.9 kB / 0.503 GB, free: 97.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (33): * Single equations (assignments): 31 * 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 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001574/0.5362, allocations: 120.4 kB / 0.5031 GB, free: 97.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.5377, allocations: 0.815 MB / 0.5039 GB, free: 97.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5377, allocations: 0 / 0.5039 GB, free: 97.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.5386, allocations: 0.5599 MB / 0.5044 GB, free: 96.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.5389, allocations: 39.12 kB / 0.5045 GB, free: 96.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5406, allocations: 1.106 MB / 0.5056 GB, free: 96.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.541, allocations: 0.8771 MB / 0.5064 GB, free: 95.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.5412, allocations: 44.67 kB / 0.5065 GB, free: 95.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5413, allocations: 31 kB / 0.5065 GB, free: 95.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5413, allocations: 1.875 kB / 0.5065 GB, free: 95.66 MB / 378.7 MB Notification: Performance of Templates: time 0.008059/0.5494, allocations: 4.75 MB / 0.5111 GB, free: 95.47 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches