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.0007699/0.0007699, allocations: 96.73 kB / 17.31 MB, free: 5.672 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.0008347/0.0008347, allocations: 176.5 kB / 18.21 MB, free: 5.246 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.12/1.12, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.0002059, allocations: 10.06 kB / 302.1 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07333/0.07355, allocations: 50.4 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003054/0.07665, allocations: 3.117 MB / 355.6 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.07808, allocations: 0.9233 MB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.07836, allocations: 8 kB / 356.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.07859, allocations: 71.47 kB / 356.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.07899, allocations: 131.1 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.07932, allocations: 151.8 kB / 356.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.07987, allocations: 0.5919 MB / 357.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.0801, allocations: 166.1 kB / 357.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.08037, allocations: 211 kB / 357.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.0806, allocations: 242.7 kB / 358.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.08065, allocations: 32 kB / 358.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.08071, allocations: 31.94 kB / 358.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.08078, allocations: 103.5 kB / 358.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.08097, allocations: 280.2 kB / 358.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.0813, allocations: 466.9 kB / 359 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.08131, allocations: 0 / 359 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08132, allocations: 0 / 359 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.08133, allocations: 0 / 359 MB, free: 12.93 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.001129/0.08246, allocations: 0.7769 MB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.0825, allocations: 8.031 kB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.08258, allocations: 64.19 kB / 359.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.08293, allocations: 347 kB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.08297, allocations: 45.69 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.08305, allocations: 48.38 kB / 360.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.08379, allocations: 454.4 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.08381, allocations: 4 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.08386, allocations: 20 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.08387, allocations: 12 kB / 360.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.08465, allocations: 409 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.08667, allocations: 1.585 MB / 362.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.08729, allocations: 414.3 kB / 363.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.08767, allocations: 193.4 kB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.08771, allocations: 16.3 kB / 363.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.08773, allocations: 38.89 kB / 363.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.545e-06/0.08774, allocations: 0 / 363.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.002881/0.09063, allocations: 1.273 MB / 364.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.09067, allocations: 63.95 kB / 364.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.09102, allocations: 393.5 kB / 365.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.09105, allocations: 37.7 kB / 365.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.0912, allocations: 295.8 kB / 365.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.09131, allocations: 193.3 kB / 365.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.09138, allocations: 57.69 kB / 365.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.09148, allocations: 354.8 kB / 366 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.09186, allocations: 185.2 kB / 366.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.09231, allocations: 315 kB / 366.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.09313, allocations: 0.5063 MB / 367 MB, free: 4.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09314, allocations: 4 kB / 367 MB, free: 4.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001267/0.09441, allocations: 0.7655 MB / 367.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.09444, allocations: 4.094 kB / 367.8 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.09445, allocations: 11.88 kB / 367.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004364/0.09489, allocations: 182.7 kB / 368 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.09536, allocations: 111.9 kB / 368.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1306/0.2259, allocations: 3.865 MB / 371.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.2264, allocations: 37.5 kB / 372 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.2265, allocations: 26.39 kB / 372 MB, free: 22.81 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.0002133/0.2267, allocations: 180.5 kB / 372.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.2268, allocations: 45.53 kB / 372.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2269, allocations: 60.28 kB / 372.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2269, allocations: 5.656 kB / 372.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.2269, allocations: 6.797 kB / 372.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2269, allocations: 5.828 kB / 372.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.229, allocations: 1.334 MB / 373.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.229, allocations: 1.125 kB / 373.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2293, allocations: 73.2 kB / 373.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.2297, allocations: 157.6 kB / 373.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2298, allocations: 10.56 kB / 373.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.2324, allocations: 3.707 MB / 377.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2324, allocations: 4.906 kB / 377.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2335, allocations: 0.7218 MB / 378.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.2336, allocations: 121.4 kB / 378.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.2336, allocations: 17.2 kB / 378.4 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.2339, allocations: 31.45 kB / 378.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.234, allocations: 40.66 kB / 378.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.234, allocations: 15.92 kB / 378.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.2343, allocations: 277.5 kB / 378.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2343, allocations: 3.875 kB / 378.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005976/0.2349, allocations: 149.2 kB / 378.9 MB, free: 18.86 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 9.121e-05/0.235, allocations: 117 kB / 379.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2362, allocations: 0.8062 MB / 379.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2362, allocations: 0 / 379.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006524/0.2369, allocations: 0.5327 MB / 380.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.2373, allocations: 51.06 kB / 380.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2388, allocations: 1.231 MB / 381.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2391, allocations: 0.8614 MB / 382.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.2392, allocations: 39.89 kB / 382.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2392, allocations: 0 / 382.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01092/0.2501, allocations: 9.542 MB / 392.1 MB, free: 13.01 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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