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.00111/0.001116, allocations: 110.5 kB / 17.06 MB, free: 6.023 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.001385/0.001385, allocations: 191 kB / 18 MB, free: 5.105 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009856/0.0009856, allocations: 43.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2709, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005454/0.2764, allocations: 3.488 MB / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2782, allocations: 0.9269 MB / 405.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.2786, allocations: 4 kB / 405.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2791, allocations: 103 kB / 405.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.2796, allocations: 158.8 kB / 405.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.2801, allocations: 171.6 kB / 405.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.2808, allocations: 0.6309 MB / 406.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.2811, allocations: 193.5 kB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.2815, allocations: 239 kB / 406.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.2818, allocations: 278.6 kB / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.2819, allocations: 56 kB / 406.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.282, allocations: 52 kB / 407 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.2821, allocations: 123.5 kB / 407.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.2824, allocations: 286.5 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.283, allocations: 0.6199 MB / 408 MB, free: 1.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.283, allocations: 0 / 408 MB, free: 1.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.283, allocations: 0 / 408 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.283, allocations: 0 / 408 MB, free: 1.527 MB / 318.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.001455/0.2845, allocations: 0.8536 MB / 408.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2845, allocations: 12.03 kB / 408.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2847, allocations: 60.19 kB / 408.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.2851, allocations: 347.1 kB / 409.3 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.2852, allocations: 41.69 kB / 409.3 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.2852, allocations: 48.38 kB / 409.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.2861, allocations: 438.5 kB / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2861, allocations: 0 / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.2862, allocations: 20 kB / 409.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2862, allocations: 20 kB / 409.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.287, allocations: 389 kB / 410.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.2894, allocations: 1.577 MB / 411.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.2902, allocations: 398.2 kB / 412.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.2906, allocations: 180.7 kB / 412.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2907, allocations: 4.328 kB / 412.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2907, allocations: 38.89 kB / 412.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.502e-06/0.2907, allocations: 0 / 412.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003086/0.2938, allocations: 1.191 MB / 413.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.2939, allocations: 59.97 kB / 413.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.2943, allocations: 393.5 kB / 414 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.2943, allocations: 37.7 kB / 414.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.2945, allocations: 307.8 kB / 414.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2946, allocations: 185.3 kB / 414.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2948, allocations: 110.3 kB / 414.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.295, allocations: 362.7 kB / 415 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.2954, allocations: 177.2 kB / 415.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.2959, allocations: 299 kB / 415.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2969, allocations: 0.4907 MB / 416 MB, free: 9.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2969, allocations: 0 / 416 MB, free: 9.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001477/0.2984, allocations: 0.7419 MB / 416.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2984, allocations: 8 kB / 416.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2985, allocations: 7.938 kB / 416.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.299, allocations: 192 kB / 416.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.2995, allocations: 107.9 kB / 417 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.3042, allocations: 4.269 MB / 421.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.3046, allocations: 28.05 kB / 421.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.3046, allocations: 28 kB / 421.3 MB, free: 3.508 MB / 334.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.0002144/0.3048, allocations: 182.2 kB / 421.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.3049, allocations: 43.44 kB / 421.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.305, allocations: 64.97 kB / 421.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3051, allocations: 4 kB / 421.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.3051, allocations: 8 kB / 421.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3051, allocations: 3.984 kB / 421.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.3072, allocations: 1.303 MB / 422.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3072, allocations: 4.125 kB / 423 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3075, allocations: 71.89 kB / 423 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.3079, allocations: 161.5 kB / 423.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.308, allocations: 12 kB / 423.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.3117, allocations: 4.102 MB / 427.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3117, allocations: 3.984 kB / 427.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3128, allocations: 0.6974 MB / 428 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.313, allocations: 128.5 kB / 428.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.313, allocations: 15.98 kB / 428.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3133, allocations: 23.98 kB / 428.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.3134, allocations: 44.31 kB / 428.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.3134, allocations: 16.11 kB / 428.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.3137, allocations: 279.1 kB / 428.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 428.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006628/0.3144, allocations: 156 kB / 428.6 MB, free: 11.79 MB / 350.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.0001277/0.3145, allocations: 108.5 kB / 428.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.3159, allocations: 0.7885 MB / 429.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.316, allocations: 0.8125 kB / 429.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.3167, allocations: 0.5232 MB / 430.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3171, allocations: 51 kB / 430.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3188, allocations: 0.9342 MB / 431 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3192, allocations: 0.8553 MB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3194, allocations: 44.36 kB / 431.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.3194, allocations: 39.42 kB / 432 MB, free: 8.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3195, allocations: 0 / 432 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00999/0.3295, allocations: 5.154 MB / 437.1 MB, free: 3.172 MB / 350.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