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.001431/0.001431, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001372/0.001372, allocations: 188.3 kB / 24.49 MB, free: 3.941 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.446/1.446, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.001491/0.001491, allocations: 43.94 kB / 371.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3036, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008505/0.3121, allocations: 5.936 MB / 429.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.3168, allocations: 2.263 MB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.3173, allocations: 20 kB / 431.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.3218, allocations: 1.748 MB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.3239, allocations: 0.6833 MB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.3265, allocations: 1.102 MB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.328, allocations: 1.121 MB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.3294, allocations: 0.8369 MB / 437.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.33, allocations: 0.4943 MB / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.3307, allocations: 0.6147 MB / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3309, allocations: 100 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008763/0.3318, allocations: 415.7 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.332, allocations: 251 kB / 438.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004554/0.3324, allocations: 469.8 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3344, allocations: 1.662 MB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3344, allocations: 0 / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3344, allocations: 0 / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3344, allocations: 0 / 441.1 MB, free: 12.59 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.006272/0.3406, allocations: 1.968 MB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.3407, allocations: 12.03 kB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.974e-05/0.3408, allocations: 38.7 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.341, allocations: 186.4 kB / 443.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.3445, allocations: 0.5114 MB / 443.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3448, allocations: 260.9 kB / 444 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.3449, allocations: 103 kB / 444.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.3451, allocations: 124.4 kB / 444.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.3476, allocations: 1.328 MB / 445.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.3477, allocations: 7.953 kB / 445.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.3478, allocations: 52 kB / 445.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.3478, allocations: 35.94 kB / 445.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3504, allocations: 1.197 MB / 446.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006508/0.3569, allocations: 3.458 MB / 450.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.3591, allocations: 1.146 MB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/0.36, allocations: 453.3 kB / 451.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3601, allocations: 28.98 kB / 451.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.3602, allocations: 47.56 kB / 452 MB, free: 1.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.396e-06/0.3602, allocations: 4 kB / 452 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01112/0.3713, allocations: 3.56 MB / 455.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.3714, allocations: 90.11 kB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.3719, allocations: 393.5 kB / 456 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.3719, allocations: 45.7 kB / 456.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.3723, allocations: 468.6 kB / 456.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.3727, allocations: 444.1 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.3731, allocations: 235.5 kB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.3733, allocations: 374.8 kB / 457.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3744, allocations: 439.8 kB / 458 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.3758, allocations: 0.7209 MB / 458.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.3783, allocations: 1.179 MB / 459.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3783, allocations: 3.938 kB / 459.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003191/0.3815, allocations: 1.463 MB / 461.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.3815, allocations: 11.98 kB / 461.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.3815, allocations: 8 kB / 461.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.3821, allocations: 201.4 kB / 461.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.3834, allocations: 291.6 kB / 461.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.3878, allocations: 4.126 MB / 466 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000902/0.3887, allocations: 80.02 kB / 466.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/0.3888, allocations: 55.98 kB / 466.1 MB, free: 2.766 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.0004508/0.3893, allocations: 269.5 kB / 466.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3894, allocations: 75.52 kB / 466.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/0.3925, allocations: 1.331 MB / 467.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3925, allocations: 15.94 kB / 467.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3925, allocations: 4 kB / 467.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3925, allocations: 3.984 kB / 467.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.3971, allocations: 2.333 MB / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.3971, allocations: 4.125 kB / 470.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.3981, allocations: 219.7 kB / 470.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/0.3986, allocations: 161.5 kB / 470.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.3987, allocations: 31.98 kB / 470.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/0.4028, allocations: 3.938 MB / 474.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4028, allocations: 0 / 474.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.4068, allocations: 1.888 MB / 476.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4071, allocations: 151.3 kB / 476.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4073, allocations: 24 kB / 476.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.4079, allocations: 63.94 kB / 476.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.4082, allocations: 93.11 kB / 476.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.4082, allocations: 35.98 kB / 476.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003477/0.4086, allocations: 271.2 kB / 477 MB, free: 7.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4086, allocations: 8 kB / 477 MB, free: 7.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4098, allocations: 303.9 kB / 477.3 MB, free: 7.223 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.004597/0.4144, allocations: 2.478 MB / 479.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.4177, allocations: 1.403 MB / 481.2 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4177, allocations: 4 kB / 481.2 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.4193, allocations: 0.8153 MB / 482 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.4199, allocations: 69.48 kB / 482.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.4346, allocations: 7.641 MB / 489.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.4351, allocations: 416.3 kB / 490.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006536/0.4358, allocations: 142.6 kB / 490.3 MB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.4363, allocations: 351.3 kB / 490.6 MB, free: 9.465 MB / 398.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4363, allocations: 3.938 kB / 490.6 MB, free: 9.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05553/0.4919, allocations: 18.42 MB / 0.4971 GB, free: 7.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.23/23.72, allocations: 11.61 kB / 0.4971 GB, free: 7.297 MB / 414.1 MB " [Timeout remaining time 636] (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: 26.24889288295526]