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.001225/0.001225, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001206/0.001206, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.598 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.92 kB / 365.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09655, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008822/0.1054, allocations: 6.733 MB / 424.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.11, allocations: 2.405 MB / 426.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.1106, allocations: 28 kB / 427 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004334/0.115, allocations: 1.881 MB / 428.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.117, allocations: 0.7066 MB / 429.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1194, allocations: 1.194 MB / 430.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.1209, allocations: 1.121 MB / 431.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.1221, allocations: 0.7203 MB / 432.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.1227, allocations: 478.2 kB / 433.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.1234, allocations: 0.6264 MB / 433.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.1236, allocations: 100 kB / 433.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.1245, allocations: 427.6 kB / 434.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1247, allocations: 247.1 kB / 434.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.1252, allocations: 0.5636 MB / 435 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.1272, allocations: 1.654 MB / 436.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1272, allocations: 0 / 436.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1272, allocations: 0 / 436.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.1272, allocations: 0 / 436.7 MB, free: 9.633 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.006099/0.1333, allocations: 2.043 MB / 438.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1334, allocations: 12.03 kB / 438.7 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.1336, allocations: 186.4 kB / 438.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.1371, allocations: 0.5114 MB / 439.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1374, allocations: 314.7 kB / 439.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1375, allocations: 102.9 kB / 439.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1377, allocations: 124.4 kB / 439.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.1401, allocations: 1.299 MB / 441.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.1401, allocations: 11.95 kB / 441.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1402, allocations: 48 kB / 441.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.1403, allocations: 36 kB / 441.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.1427, allocations: 1.197 MB / 442.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/0.3255, allocations: 4.187 MB / 446.7 MB, free: 27.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3273, allocations: 2.342 MB / 449.1 MB, free: 26.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.3281, allocations: 461.1 kB / 449.5 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3282, allocations: 112.6 kB / 449.6 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3282, allocations: 43.72 kB / 449.7 MB, free: 25.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.546e-06/0.3282, allocations: 0 / 449.7 MB, free: 25.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009575/0.3378, allocations: 3.795 MB / 453.5 MB, free: 25.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3378, allocations: 90.14 kB / 453.5 MB, free: 25.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.3383, allocations: 394.6 kB / 453.9 MB, free: 25.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.3383, allocations: 44.95 kB / 454 MB, free: 25.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3385, allocations: 470.3 kB / 454.4 MB, free: 24.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.3388, allocations: 446.8 kB / 454.9 MB, free: 24.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.3392, allocations: 229.4 kB / 455.1 MB, free: 24.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.3393, allocations: 377.4 kB / 455.5 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.3403, allocations: 442.3 kB / 455.9 MB, free: 24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3414, allocations: 0.6937 MB / 456.6 MB, free: 23.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3435, allocations: 1.177 MB / 457.8 MB, free: 22.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3435, allocations: 2.281 kB / 457.8 MB, free: 22.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002844/0.3463, allocations: 1.468 MB / 459.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3463, allocations: 8.391 kB / 459.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3463, allocations: 7.562 kB / 459.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.3468, allocations: 198.7 kB / 459.4 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.348, allocations: 297 kB / 459.7 MB, free: 22.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.3512, allocations: 4.381 MB / 464.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.352, allocations: 75.28 kB / 464.2 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.3521, allocations: 56.58 kB / 464.2 MB, free: 18.47 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.0003651/0.3525, allocations: 271 kB / 464.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3526, allocations: 72.03 kB / 464.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.3552, allocations: 1.341 MB / 465.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3553, allocations: 12.28 kB / 465.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3553, allocations: 4.641 kB / 465.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3553, allocations: 7.922 kB / 465.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.3594, allocations: 2.601 MB / 468.5 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3594, allocations: 1.125 kB / 468.5 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/0.3603, allocations: 225.4 kB / 468.8 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.3607, allocations: 167 kB / 468.9 MB, free: 16.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.3608, allocations: 29.41 kB / 469 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.3635, allocations: 4.178 MB / 473.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3635, allocations: 5.641 kB / 473.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.367, allocations: 1.878 MB / 475 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.3673, allocations: 224.2 kB / 475.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.3674, allocations: 24.03 kB / 475.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.368, allocations: 60.69 kB / 475.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3682, allocations: 96.39 kB / 475.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.3683, allocations: 36.88 kB / 475.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.3685, allocations: 271.4 kB / 475.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 1.562 kB / 475.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3696, allocations: 303.2 kB / 476 MB, free: 11.29 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.003757/0.3733, allocations: 2.493 MB / 478.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002722/0.376, allocations: 1.399 MB / 479.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.376, allocations: 0 / 479.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3773, allocations: 0.8254 MB / 480.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3779, allocations: 69.38 kB / 480.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3884, allocations: 7.657 MB / 488.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.3887, allocations: 1.005 MB / 489.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005752/0.3893, allocations: 148.5 kB / 489.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.3897, allocations: 350.1 kB / 489.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3897, allocations: 4 kB / 489.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3325/0.7222, allocations: 17.5 MB / 0.4956 GB, free: 2.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/23.9, allocations: 11.28 kB / 0.4956 GB, free: 2.484 MB / 382.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.42114325100556]