Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 213.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2328, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007681/0.2404, allocations: 5.945 MB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.2445, allocations: 2.312 MB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.2449, allocations: 24 kB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.2494, allocations: 1.749 MB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2512, allocations: 0.5424 MB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.2541, allocations: 1.249 MB / 442.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.2556, allocations: 1.117 MB / 444 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2568, allocations: 0.8386 MB / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.2574, allocations: 498.1 kB / 445.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000711/0.2581, allocations: 0.6225 MB / 446 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2582, allocations: 100 kB / 446.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.2591, allocations: 439.6 kB / 446.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2593, allocations: 247.1 kB / 446.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.2598, allocations: 469.7 kB / 447.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.2617, allocations: 1.677 MB / 448.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2617, allocations: 8 kB / 448.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2617, allocations: 0 / 448.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2617, allocations: 0 / 448.9 MB, free: 4.754 MB / 350.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.006034/0.2677, allocations: 1.972 MB / 450.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2678, allocations: 16.03 kB / 450.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.268, allocations: 186.4 kB / 451.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.2715, allocations: 0.4919 MB / 451.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.2718, allocations: 256.8 kB / 451.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.2719, allocations: 94.95 kB / 451.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.2721, allocations: 132.3 kB / 452 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.2744, allocations: 1.325 MB / 453.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.2744, allocations: 0 / 453.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2745, allocations: 63.94 kB / 453.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.2746, allocations: 32 kB / 453.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.277, allocations: 1.177 MB / 454.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006144/0.2831, allocations: 3.485 MB / 458.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.2852, allocations: 1.138 MB / 459.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008874/0.286, allocations: 460.6 kB / 459.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.2862, allocations: 40.95 kB / 459.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.2862, allocations: 47.5 kB / 459.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.976e-06/0.2862, allocations: 0 / 459.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01024/0.2965, allocations: 3.549 MB / 463.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.2965, allocations: 90.11 kB / 463.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.297, allocations: 413.3 kB / 463.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.2971, allocations: 45.7 kB / 463.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.2974, allocations: 464.6 kB / 464.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.2977, allocations: 440.2 kB / 464.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.2981, allocations: 235.5 kB / 465 MB, free: 4.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2982, allocations: 366.8 kB / 465.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.2992, allocations: 439.8 kB / 465.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3005, allocations: 0.713 MB / 466.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.3028, allocations: 1.183 MB / 467.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3028, allocations: 3.938 kB / 467.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002997/0.3058, allocations: 1.459 MB / 469.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3058, allocations: 8 kB / 469.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3058, allocations: 8 kB / 469.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.3064, allocations: 197.5 kB / 469.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3076, allocations: 291.6 kB / 469.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/0.312, allocations: 4.122 MB / 473.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/0.3129, allocations: 71.91 kB / 473.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.313, allocations: 63.97 kB / 473.9 MB, free: 10.98 MB / 382.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.0004583/0.3135, allocations: 265.5 kB / 474.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3136, allocations: 75.56 kB / 474.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.3165, allocations: 1.319 MB / 475.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3166, allocations: 23.94 kB / 475.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3166, allocations: 4 kB / 475.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.3166, allocations: 7.969 kB / 475.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.321, allocations: 2.314 MB / 477.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.321, allocations: 7.984 kB / 477.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.322, allocations: 211.7 kB / 478.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.3224, allocations: 169.7 kB / 478.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/0.3225, allocations: 27.98 kB / 478.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.3263, allocations: 3.95 MB / 482.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3264, allocations: 0 / 482.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/0.3301, allocations: 1.861 MB / 484.1 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.3304, allocations: 155.4 kB / 484.3 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3305, allocations: 23.98 kB / 484.3 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.3312, allocations: 60.02 kB / 484.3 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.3314, allocations: 96.75 kB / 484.4 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.3315, allocations: 39.98 kB / 484.5 MB, free: 40 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.3318, allocations: 263.2 kB / 484.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 4 kB / 484.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3329, allocations: 307.9 kB / 485 MB, free: 15.48 MB / 398.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.004203/0.3371, allocations: 2.485 MB / 487.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.3399, allocations: 1.395 MB / 488.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3399, allocations: 0 / 488.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.3414, allocations: 0.8159 MB / 489.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.3419, allocations: 69.25 kB / 489.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.3549, allocations: 7.551 MB / 497.3 MB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3553, allocations: 416.3 kB / 497.8 MB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.3559, allocations: 138.6 kB / 497.9 MB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.3564, allocations: 355.3 kB / 498.2 MB, free: 1.816 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3564, allocations: 0 / 498.2 MB, free: 1.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/0.4122, allocations: 19.05 MB / 0.5052 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.3, allocations: 11.73 kB / 0.5052 GB, free: 15.01 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.594372060004389]