Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001091/0.001091, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.001182/0.001183, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009785/0.0009785, allocations: 51.8 kB / 300 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09132, allocations: 49.45 MB / 349.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007832/0.09918, allocations: 6.643 MB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.1034, allocations: 2.382 MB / 358.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.1041, allocations: 24 kB / 358.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.1079, allocations: 1.766 MB / 360.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.1096, allocations: 0.6374 MB / 360.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.1119, allocations: 1.121 MB / 362 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.1133, allocations: 1.062 MB / 363.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1148, allocations: 0.8656 MB / 363.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.1154, allocations: 466.1 kB / 364.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007305/0.1162, allocations: 0.6069 MB / 365 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.1163, allocations: 72 kB / 365 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.1172, allocations: 399.6 kB / 365.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1174, allocations: 227.1 kB / 365.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005881/0.118, allocations: 0.5362 MB / 366.2 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1198, allocations: 1.608 MB / 367.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1198, allocations: 0 / 367.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1198, allocations: 0 / 367.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.021e-05/0.1199, allocations: 0 / 367.8 MB, free: 2.273 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006478/0.1264, allocations: 2.014 MB / 369.8 MB, free: 212 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1264, allocations: 8.031 kB / 369.8 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1445/0.2709, allocations: 0.5022 MB / 370.3 MB, free: 24.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.2713, allocations: 308.1 kB / 370.6 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2714, allocations: 103.6 kB / 370.7 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.2717, allocations: 123.7 kB / 370.9 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.2742, allocations: 1.301 MB / 372.2 MB, free: 24.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.2743, allocations: 5.969 kB / 372.2 MB, free: 24.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.2744, allocations: 54.66 kB / 372.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.2744, allocations: 34.14 kB / 372.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.2769, allocations: 1.197 MB / 373.4 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006033/0.2829, allocations: 4.222 MB / 377.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.2851, allocations: 2.445 MB / 380.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/0.286, allocations: 0.5085 MB / 380.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.2862, allocations: 111.2 kB / 380.7 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2862, allocations: 47.22 kB / 380.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.156e-06/0.2862, allocations: 0 / 380.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01088/0.2971, allocations: 3.778 MB / 384.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2971, allocations: 90.81 kB / 384.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.2976, allocations: 399.2 kB / 385 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.2976, allocations: 46.3 kB / 385.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.2978, allocations: 454.3 kB / 385.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.298, allocations: 418.2 kB / 385.9 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.2984, allocations: 235.8 kB / 386.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.2985, allocations: 377.1 kB / 386.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.2995, allocations: 437.3 kB / 387 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3006, allocations: 0.6886 MB / 387.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.3028, allocations: 1.184 MB / 388.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3028, allocations: 2.094 kB / 388.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002849/0.3057, allocations: 1.475 MB / 390.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3057, allocations: 14.66 kB / 390.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3057, allocations: 11.91 kB / 390.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.3062, allocations: 200.9 kB / 390.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3074, allocations: 286.8 kB / 390.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.3105, allocations: 3.962 MB / 394.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/0.3114, allocations: 78.44 kB / 394.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.3115, allocations: 55.86 kB / 394.9 MB, free: 10.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0003671/0.3118, allocations: 268.4 kB / 395.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.312, allocations: 68.16 kB / 395.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.3149, allocations: 1.359 MB / 396.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3149, allocations: 11.81 kB / 396.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3149, allocations: 3.938 kB / 396.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.3149, allocations: 7.984 kB / 396.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.3188, allocations: 2.621 MB / 399.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3188, allocations: 0 / 399.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/0.3198, allocations: 225.3 kB / 399.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003694/0.3202, allocations: 160.5 kB / 399.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.3202, allocations: 29.2 kB / 399.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.3227, allocations: 3.787 MB / 403.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3228, allocations: 3.938 kB / 403.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.3262, allocations: 1.878 MB / 405.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.3264, allocations: 228.3 kB / 405.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3265, allocations: 28.88 kB / 405.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.3272, allocations: 63.94 kB / 405.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.3274, allocations: 92.81 kB / 405.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.3275, allocations: 35.98 kB / 405.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3277, allocations: 271.2 kB / 406 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3277, allocations: 0 / 406 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000989/0.3287, allocations: 300 kB / 406.3 MB, free: 240 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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.0002476/0.3289, allocations: 178.8 kB / 406.5 MB, free: 60 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.3319, allocations: 1.458 MB / 407.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3319, allocations: 0 / 407.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.3334, allocations: 0.8661 MB / 408.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.334, allocations: 73.48 kB / 408.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.3381, allocations: 2.443 MB / 411.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.3386, allocations: 1.009 MB / 412.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000788/0.3394, allocations: 150.6 kB / 412.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.3397, allocations: 79.41 kB / 412.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3397, allocations: 0 / 412.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of Templates: time 0.01731/0.357, allocations: 9.741 MB / 422.3 MB, free: 200 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches