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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007938, allocations: 89.25 kB / 16.65 MB, free: 6.598 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.0008323/0.0008323, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.307/1.307, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 7.938 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09498, allocations: 50.42 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003602/0.09863, allocations: 3.129 MB / 355 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1004, allocations: 0.9115 MB / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1006, allocations: 11.94 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1009, allocations: 63.53 kB / 355.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1013, allocations: 135.1 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1016, allocations: 159.7 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.1022, allocations: 0.5881 MB / 356.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.1025, allocations: 162.3 kB / 357 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1028, allocations: 215 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1031, allocations: 238.8 kB / 357.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.1031, allocations: 32 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.1032, allocations: 31.94 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.1033, allocations: 95.53 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.1035, allocations: 280.2 kB / 357.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.104, allocations: 0.5877 MB / 358.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.104, allocations: 0 / 358.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.104, allocations: 4 kB / 358.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1041, allocations: 4 kB / 358.4 MB, free: 13.03 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001362/0.1054, allocations: 0.7681 MB / 359.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1055, allocations: 12.02 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1056, allocations: 68.19 kB / 359.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.1061, allocations: 343 kB / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.1061, allocations: 41.69 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.1062, allocations: 48.38 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/0.1071, allocations: 446.4 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1071, allocations: 4 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.1071, allocations: 20 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1072, allocations: 15.94 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.1081, allocations: 413 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.1106, allocations: 1.589 MB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.1114, allocations: 410.4 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.1119, allocations: 193.3 kB / 362.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1119, allocations: 4.328 kB / 362.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.112, allocations: 38.89 kB / 362.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.112, allocations: 0 / 362.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003465/0.1155, allocations: 1.281 MB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1155, allocations: 59.97 kB / 364.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.116, allocations: 401.5 kB / 364.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.116, allocations: 33.7 kB / 364.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1162, allocations: 299.8 kB / 364.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1164, allocations: 189.3 kB / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.1165, allocations: 61.62 kB / 365.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1166, allocations: 354.8 kB / 365.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.1171, allocations: 189.2 kB / 365.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.1176, allocations: 311.1 kB / 366 MB, free: 5.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.1186, allocations: 0.5063 MB / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1186, allocations: 0 / 366.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001523/0.1201, allocations: 0.7733 MB / 367.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1201, allocations: 4 kB / 367.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1202, allocations: 8 kB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.1207, allocations: 181.6 kB / 367.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.1212, allocations: 119.8 kB / 367.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.17/0.2912, allocations: 3.867 MB / 371.4 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.2918, allocations: 36.2 kB / 371.4 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.2919, allocations: 25.94 kB / 371.5 MB, free: 22.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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.0002259/0.2921, allocations: 176.9 kB / 371.6 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.2922, allocations: 48.58 kB / 371.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2923, allocations: 60.88 kB / 371.7 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2923, allocations: 5.156 kB / 371.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.2923, allocations: 4.406 kB / 371.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2923, allocations: 3.141 kB / 371.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.2946, allocations: 1.335 MB / 373.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2946, allocations: 2.094 kB / 373.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.2949, allocations: 75.44 kB / 373.2 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.2954, allocations: 161.5 kB / 373.3 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.2954, allocations: 10.94 kB / 373.3 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.2983, allocations: 3.707 MB / 377 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2983, allocations: 1.5 kB / 377 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2995, allocations: 0.7166 MB / 377.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.2996, allocations: 123.7 kB / 377.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.2996, allocations: 11.78 kB / 377.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.3, allocations: 32.3 kB / 377.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3001, allocations: 48.11 kB / 378 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3001, allocations: 10.75 kB / 378 MB, free: 19.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3004, allocations: 282.2 kB / 378.3 MB, free: 19.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3004, allocations: 3.875 kB / 378.3 MB, free: 19.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.3011, allocations: 154.2 kB / 378.4 MB, free: 19.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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.0001034/0.3012, allocations: 111.3 kB / 378.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.3025, allocations: 0.8017 MB / 379.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3025, allocations: 0.9062 kB / 379.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.3033, allocations: 0.5372 MB / 379.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.3038, allocations: 54.72 kB / 379.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3053, allocations: 1.2 MB / 381.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3056, allocations: 0.8606 MB / 382 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3059, allocations: 43.81 kB / 382 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3059, allocations: 33.73 kB / 382.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.306, allocations: 0 / 382.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of Templates: time 0.009207/0.3152, allocations: 4.647 MB / 386.7 MB, free: 16.04 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches