Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.4 MB / 254.7 MB, free: 14.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 53.37 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.213/0.3235, allocations: 6.735 MB / 433.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3274, allocations: 2.485 MB / 436.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008232/0.3282, allocations: 22.03 kB / 436.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.332, allocations: 1.882 MB / 438.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.3337, allocations: 0.5484 MB / 438.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.3362, allocations: 1.334 MB / 440.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.3379, allocations: 1.117 MB / 441.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.3394, allocations: 0.7186 MB / 441.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009815/0.3404, allocations: 496.7 kB / 442.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3415, allocations: 0.6176 MB / 443 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.3418, allocations: 99.22 kB / 443.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3433, allocations: 452.8 kB / 443.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.3436, allocations: 244.6 kB / 443.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.3449, allocations: 0.5568 MB / 444.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.3483, allocations: 1.679 MB / 446 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3483, allocations: 4 kB / 446 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3483, allocations: 1.312 kB / 446 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.441e-05/0.3484, allocations: 0 / 446 MB, free: 2.137 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.007285/0.3557, allocations: 2.049 MB / 448.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.3557, allocations: 13.84 kB / 448.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.763e-05/0.3558, allocations: 37.61 kB / 448.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.356, allocations: 186.1 kB / 448.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.3596, allocations: 497.2 kB / 448.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.3599, allocations: 313.8 kB / 449.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.36, allocations: 99.17 kB / 449.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.3602, allocations: 133.3 kB / 449.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.3626, allocations: 1.304 MB / 450.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.3626, allocations: 2.859 kB / 450.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3628, allocations: 50.19 kB / 450.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.3628, allocations: 30.88 kB / 450.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.3655, allocations: 1.193 MB / 451.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/0.3727, allocations: 4.289 MB / 456.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.3755, allocations: 2.345 MB / 458.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009497/0.3765, allocations: 464.5 kB / 459 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.3767, allocations: 199 kB / 459.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3767, allocations: 44.22 kB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/0.3767, allocations: 0 / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01091/0.3876, allocations: 3.772 MB / 463 MB, free: 8.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.3877, allocations: 90.61 kB / 463.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.3882, allocations: 397 kB / 463.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.3883, allocations: 49.08 kB / 463.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3886, allocations: 462.6 kB / 464 MB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.389, allocations: 450.4 kB / 464.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.3894, allocations: 230.8 kB / 464.7 MB, free: 6.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3896, allocations: 376.5 kB / 465 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.3907, allocations: 428.5 kB / 465.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.392, allocations: 0.6974 MB / 466.1 MB, free: 5.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.3944, allocations: 1.177 MB / 467.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3944, allocations: 5.375 kB / 467.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003308/0.3977, allocations: 1.455 MB / 468.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3977, allocations: 19.8 kB / 468.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3977, allocations: 7.875 kB / 468.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.3983, allocations: 199.4 kB / 469 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3996, allocations: 283 kB / 469.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.4043, allocations: 4.373 MB / 473.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/0.4052, allocations: 78.59 kB / 473.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.4053, allocations: 55 kB / 473.8 MB, free: 15.9 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.00051/0.4058, allocations: 268.6 kB / 474 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.406, allocations: 72.08 kB / 474.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.4092, allocations: 1.325 MB / 475.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4092, allocations: 16.31 kB / 475.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4092, allocations: 4.125 kB / 475.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4092, allocations: 3.984 kB / 475.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.4142, allocations: 2.613 MB / 478.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4142, allocations: 0 / 478.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/0.4152, allocations: 211.7 kB / 478.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.4157, allocations: 162.5 kB / 478.4 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.4157, allocations: 27.98 kB / 478.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.4201, allocations: 4.186 MB / 482.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4201, allocations: 4.875 kB / 482.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.4241, allocations: 1.869 MB / 484.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.4245, allocations: 232.6 kB / 484.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.4246, allocations: 20 kB / 484.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/0.4253, allocations: 55.95 kB / 484.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.4255, allocations: 101 kB / 484.9 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.4256, allocations: 36.27 kB / 485 MB, free: 5.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.4259, allocations: 267.2 kB / 485.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4259, allocations: 0 / 485.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4272, allocations: 315.8 kB / 485.5 MB, free: 4.715 MB / 382.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.004551/0.4317, allocations: 2.482 MB / 488 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.4349, allocations: 1.394 MB / 489.4 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4349, allocations: 0 / 489.4 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.4365, allocations: 0.8201 MB / 490.2 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.4371, allocations: 63.12 kB / 490.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.4511, allocations: 7.565 MB / 497.9 MB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.4518, allocations: 1.013 MB / 498.9 MB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.4523, allocations: 142.6 kB / 499 MB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.4529, allocations: 351.3 kB / 499.3 MB, free: 6.449 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4529, allocations: 0 / 499.3 MB, free: 6.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.5036, allocations: 17.7 MB / 0.5049 GB, free: 4.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.58/23.08, allocations: 14.88 kB / 0.5049 GB, free: 4.98 MB / 414.1 MB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.67967757000588]