Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001007/0.001007, allocations: 103.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007701/0.0007702, allocations: 35.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2607, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005249/0.266, allocations: 2.841 MB / 402.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2675, allocations: 0.7271 MB / 403 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2677, allocations: 4 kB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.268, allocations: 59.61 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.2684, allocations: 75.44 kB / 403.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2688, allocations: 79.94 kB / 403.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.2692, allocations: 386.4 kB / 403.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.2694, allocations: 107.6 kB / 403.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2697, allocations: 143.4 kB / 403.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.27, allocations: 167.2 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.2701, allocations: 20 kB / 404.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.2702, allocations: 24 kB / 404.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.2702, allocations: 71.64 kB / 404.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2704, allocations: 167.1 kB / 404.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.2708, allocations: 376.2 kB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2709, allocations: 0 / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2709, allocations: 0 / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.2709, allocations: 0 / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001566/0.2725, allocations: 0.6432 MB / 405.3 MB, free: 27.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2725, allocations: 12.03 kB / 405.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.2727, allocations: 36.47 kB / 405.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.273, allocations: 260.3 kB / 405.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.2731, allocations: 25.03 kB / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.2732, allocations: 32.38 kB / 405.7 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.2741, allocations: 294.3 kB / 406 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2741, allocations: 4 kB / 406 MB, free: 26.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.2742, allocations: 8 kB / 406 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2742, allocations: 8 kB / 406 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2752, allocations: 250.5 kB / 406.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.2775, allocations: 1.12 MB / 407.4 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.2781, allocations: 159.2 kB / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.2784, allocations: 72.81 kB / 407.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.2784, allocations: 4 kB / 407.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.2785, allocations: 30.56 kB / 407.6 MB, free: 25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.155e-06/0.2785, allocations: 0 / 407.6 MB, free: 25 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.003173/0.2817, allocations: 0.5945 MB / 408.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2817, allocations: 51.41 kB / 408.3 MB, free: 24.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2821, allocations: 266.5 kB / 408.5 MB, free: 24.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2821, allocations: 29.7 kB / 408.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2822, allocations: 227.5 kB / 408.8 MB, free: 23.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.2823, allocations: 74.86 kB / 408.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.2825, allocations: 69.69 kB / 408.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.2826, allocations: 334.8 kB / 409.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.2831, allocations: 95.94 kB / 409.3 MB, free: 23.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.2836, allocations: 192.2 kB / 409.5 MB, free: 22.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.2846, allocations: 298.8 kB / 409.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2846, allocations: 4 kB / 409.8 MB, free: 22.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001384/0.286, allocations: 397.2 kB / 410.2 MB, free: 22.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2861, allocations: 12 kB / 410.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2861, allocations: 8 kB / 410.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003411/0.2864, allocations: 53.67 kB / 410.3 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.287, allocations: 71.89 kB / 410.3 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.2889, allocations: 2.636 MB / 413 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.2894, allocations: 19.98 kB / 413 MB, free: 19.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.2894, allocations: 19.94 kB / 413 MB, free: 19.16 MB / 298.7 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.2896, allocations: 153.8 kB / 413.2 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.2897, allocations: 35.55 kB / 413.2 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.615e-05/0.2898, allocations: 26.19 kB / 413.2 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2898, allocations: 7.938 kB / 413.2 MB, free: 18.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2899, allocations: 0 / 413.2 MB, free: 18.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2899, allocations: 3.984 kB / 413.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.2903, allocations: 333.4 kB / 413.6 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2904, allocations: 0 / 413.6 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.2907, allocations: 35.97 kB / 413.6 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.291, allocations: 61.61 kB / 413.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.291, allocations: 4 kB / 413.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.2928, allocations: 2.628 MB / 416.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2928, allocations: 0 / 416.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2946, allocations: 1.039 MB / 417.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.2947, allocations: 104.8 kB / 417.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2947, allocations: 4 kB / 417.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.2951, allocations: 15.98 kB / 417.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2952, allocations: 27.91 kB / 417.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2952, allocations: 4 kB / 417.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.2955, allocations: 186 kB / 417.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2955, allocations: 4 kB / 417.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008613/0.2964, allocations: 68 kB / 417.7 MB, free: 14.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.2965, allocations: 103.2 kB / 417.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2979, allocations: 477.1 kB / 418.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2979, allocations: 0.8125 kB / 418.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.2986, allocations: 353.1 kB / 418.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.2993, allocations: 24.56 kB / 418.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3007, allocations: 0.851 MB / 419.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3009, allocations: 0.7791 MB / 420.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000254/0.3012, allocations: 22.3 kB / 420.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.3013, allocations: 23.42 kB / 420.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3013, allocations: 0 / 420.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of Templates: time 0.008424/0.3098, allocations: 2.631 MB / 423 MB, free: 8.676 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches