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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 55.91 kB / 366.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 52.13 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008671/0.116, allocations: 6.735 MB / 425.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1202, allocations: 2.409 MB / 427.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.1208, allocations: 24 kB / 427.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004275/0.1251, allocations: 1.886 MB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1268, allocations: 0.7135 MB / 430.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.1293, allocations: 1.177 MB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.1308, allocations: 1.125 MB / 432.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.132, allocations: 0.7203 MB / 433.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.1327, allocations: 494.1 kB / 433.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.1334, allocations: 0.6225 MB / 434.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1336, allocations: 100 kB / 434.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009105/0.1345, allocations: 419.7 kB / 434.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.1347, allocations: 255 kB / 435.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.1352, allocations: 0.5597 MB / 435.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.1371, allocations: 1.654 MB / 437.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1371, allocations: 4 kB / 437.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1371, allocations: 0 / 437.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.1371, allocations: 0 / 437.4 MB, free: 9.625 MB / 366.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.006361/0.1435, allocations: 2.039 MB / 439.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1436, allocations: 12.03 kB / 439.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.098e-05/0.1436, allocations: 38.69 kB / 439.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.1438, allocations: 198.3 kB / 439.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.1474, allocations: 0.5075 MB / 440.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1478, allocations: 310.7 kB / 440.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.1479, allocations: 103 kB / 440.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.1481, allocations: 128.3 kB / 440.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.1506, allocations: 1.307 MB / 442 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.1507, allocations: 3.953 kB / 442 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1508, allocations: 52 kB / 442 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.1508, allocations: 32 kB / 442.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1534, allocations: 1.201 MB / 443.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2125/0.3659, allocations: 4.186 MB / 447.5 MB, free: 27.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.3679, allocations: 2.345 MB / 449.8 MB, free: 26.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/0.3688, allocations: 455.2 kB / 450.3 MB, free: 26.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.3689, allocations: 106.2 kB / 450.4 MB, free: 26.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3689, allocations: 45.12 kB / 450.4 MB, free: 26.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.3689, allocations: 0 / 450.4 MB, free: 26.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01078/0.3797, allocations: 3.794 MB / 454.2 MB, free: 25.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3797, allocations: 92.73 kB / 454.3 MB, free: 25.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.3802, allocations: 398.7 kB / 454.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3802, allocations: 44.48 kB / 454.7 MB, free: 25.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.3805, allocations: 465.3 kB / 455.2 MB, free: 24.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.3808, allocations: 450.1 kB / 455.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.3812, allocations: 229.2 kB / 455.8 MB, free: 24.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3813, allocations: 377 kB / 456.2 MB, free: 24.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.3825, allocations: 438.1 kB / 456.6 MB, free: 24.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3837, allocations: 0.6984 MB / 457.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.386, allocations: 1.178 MB / 458.5 MB, free: 23.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.386, allocations: 3.188 kB / 458.5 MB, free: 23.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003117/0.3891, allocations: 1.468 MB / 460 MB, free: 22.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3891, allocations: 7.219 kB / 460 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3891, allocations: 11.28 kB / 460 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.3897, allocations: 200.6 kB / 460.2 MB, free: 22.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3909, allocations: 288.2 kB / 460.5 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.3941, allocations: 4.383 MB / 464.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.395, allocations: 77.58 kB / 464.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.3951, allocations: 59.95 kB / 465 MB, free: 18.58 MB / 366.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.0003544/0.3954, allocations: 264.2 kB / 465.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3955, allocations: 74.11 kB / 465.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.3986, allocations: 1.343 MB / 466.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3986, allocations: 12.78 kB / 466.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3986, allocations: 3.625 kB / 466.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.3986, allocations: 6.141 kB / 466.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.4031, allocations: 2.609 MB / 469.3 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4031, allocations: 1.75 kB / 469.3 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009686/0.404, allocations: 216.4 kB / 469.5 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.4045, allocations: 164.8 kB / 469.7 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.4045, allocations: 31.88 kB / 469.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.4076, allocations: 4.188 MB / 473.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4076, allocations: 5.25 kB / 473.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.4115, allocations: 1.872 MB / 475.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.4119, allocations: 229.1 kB / 476 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.4119, allocations: 27.95 kB / 476 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.4126, allocations: 65.25 kB / 476.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.4128, allocations: 90.7 kB / 476.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.4129, allocations: 38.53 kB / 476.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.4131, allocations: 270.9 kB / 476.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4131, allocations: 0 / 476.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4142, allocations: 300.2 kB / 476.8 MB, free: 11.4 MB / 366.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.004114/0.4183, allocations: 2.488 MB / 479.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.4213, allocations: 1.401 MB / 480.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4213, allocations: 0 / 480.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.4228, allocations: 0.822 MB / 481.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.4234, allocations: 74.09 kB / 481.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4348, allocations: 7.659 MB / 489.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.4351, allocations: 1.002 MB / 490.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000514/0.4356, allocations: 155.9 kB / 490.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.436, allocations: 348.9 kB / 490.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.436, allocations: 0 / 490.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04624/0.4823, allocations: 17.54 MB / 0.4963 GB, free: 2.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.56/23.04, allocations: 15.73 kB / 0.4964 GB, free: 2.43 MB / 382.1 MB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.45609800197417]