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.0009013/0.0009014, allocations: 106 kB / 16.62 MB, free: 6.805 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.0009533/0.0009533, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.333/1.333, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009865/0.0009866, allocations: 46.86 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.091, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004793/0.09584, allocations: 3.511 MB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.09763, allocations: 0.9191 MB / 354 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.09787, allocations: 4 kB / 354 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.09818, allocations: 75.45 kB / 354.1 MB, free: 240 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.09854, allocations: 131.1 kB / 354.2 MB, free: 108 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.09891, allocations: 155.9 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.09944, allocations: 0.6287 MB / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.09971, allocations: 185.5 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.1, allocations: 247 kB / 355.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.1003, allocations: 274.6 kB / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.1004, allocations: 56 kB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.1005, allocations: 52 kB / 355.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.1006, allocations: 115.5 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1008, allocations: 290.5 kB / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.1013, allocations: 0.6152 MB / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1013, allocations: 0 / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1013, allocations: 0 / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1013, allocations: 0 / 356.8 MB, free: 13.51 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.001401/0.1027, allocations: 0.8498 MB / 357.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1028, allocations: 8.031 kB / 357.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.824e-05/0.1029, allocations: 60.19 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1033, allocations: 351 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.1033, allocations: 37.69 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.811e-05/0.1034, allocations: 60.34 kB / 358.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.1043, allocations: 438.4 kB / 358.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1043, allocations: 3.938 kB / 358.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.1043, allocations: 20 kB / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1044, allocations: 12 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.1052, allocations: 393 kB / 359 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.1077, allocations: 1.581 MB / 360.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.1085, allocations: 401.4 kB / 361 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.1089, allocations: 189.3 kB / 361.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.109, allocations: 4.328 kB / 361.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.109, allocations: 38.89 kB / 361.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.275e-06/0.109, allocations: 0 / 361.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003266/0.1123, allocations: 1.191 MB / 362.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1123, allocations: 59.97 kB / 362.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.1127, allocations: 393.5 kB / 362.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1128, allocations: 37.7 kB / 362.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.113, allocations: 303.8 kB / 363.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1131, allocations: 185.3 kB / 363.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1133, allocations: 110.2 kB / 363.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1134, allocations: 358.8 kB / 363.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1138, allocations: 173.2 kB / 364 MB, free: 6.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.1143, allocations: 303 kB / 364.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.1152, allocations: 0.4907 MB / 364.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1152, allocations: 4 kB / 364.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001436/0.1167, allocations: 0.7382 MB / 365.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1167, allocations: 8 kB / 365.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1167, allocations: 4 kB / 365.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/0.1173, allocations: 185.5 kB / 365.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.1178, allocations: 111.9 kB / 365.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1591/0.2769, allocations: 4.272 MB / 370.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.2774, allocations: 31.28 kB / 370.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.2775, allocations: 24.58 kB / 370.1 MB, free: 23.98 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.0002348/0.2778, allocations: 177 kB / 370.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.2779, allocations: 51.11 kB / 370.4 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.278, allocations: 60.23 kB / 370.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.278, allocations: 8.984 kB / 370.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.278, allocations: 4.938 kB / 370.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2781, allocations: 2.984 kB / 370.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.2806, allocations: 1.311 MB / 371.7 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2806, allocations: 2.141 kB / 371.7 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.2809, allocations: 65.16 kB / 371.8 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.2814, allocations: 164.4 kB / 372 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2814, allocations: 12.53 kB / 372 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.2844, allocations: 4.104 MB / 376.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2845, allocations: 1.156 kB / 376.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2856, allocations: 0.6957 MB / 376.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.2857, allocations: 128.1 kB / 376.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.2858, allocations: 11.31 kB / 376.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2861, allocations: 24.88 kB / 376.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2862, allocations: 50.75 kB / 377 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.2863, allocations: 15.52 kB / 377 MB, free: 19.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.2865, allocations: 274.2 kB / 377.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2865, allocations: 0.5 kB / 377.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006995/0.2872, allocations: 153.2 kB / 377.4 MB, free: 19.49 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.0001149/0.2874, allocations: 123.4 kB / 377.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.2889, allocations: 0.7966 MB / 378.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2889, allocations: 0 / 378.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.2897, allocations: 0.5182 MB / 378.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.2902, allocations: 41.56 kB / 378.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2919, allocations: 1.178 MB / 380.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2922, allocations: 0.8643 MB / 380.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.2924, allocations: 45.44 kB / 381 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.2925, allocations: 30.23 kB / 381 MB, free: 17.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2925, allocations: 1.375 kB / 381 MB, free: 17.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01097/0.3035, allocations: 4.966 MB / 386 MB, free: 16.41 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