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.0009518/0.0009518, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001011/0.001011, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8909/0.8909, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.934e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007003/0.007023, allocations: 5.935 MB / 324.4 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.01041, allocations: 2.257 MB / 326.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.01074, allocations: 24 kB / 326.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.01291, allocations: 1.846 MB / 328.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.01412, allocations: 0.6985 MB / 329.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.01579, allocations: 1.121 MB / 330.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009241/0.01671, allocations: 1.163 MB / 331.5 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.01763, allocations: 0.8292 MB / 332.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.01822, allocations: 0.7015 MB / 333 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.01863, allocations: 486.7 kB / 333.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01874, allocations: 100 kB / 333.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.01952, allocations: 407.4 kB / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01966, allocations: 247 kB / 334.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.0199, allocations: 390.9 kB / 334.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.02117, allocations: 1.702 MB / 336.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.02117, allocations: 0 / 336.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.02118, allocations: 4 kB / 336.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.02119, allocations: 0 / 336.3 MB, free: 4.398 MB / 298.7 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.003596/0.02479, allocations: 1.964 MB / 338.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.02485, allocations: 8.922 kB / 338.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.02502, allocations: 186.4 kB / 338.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.02669, allocations: 0.5153 MB / 339 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.02691, allocations: 244.3 kB / 339.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.02698, allocations: 94.95 kB / 339.3 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.02711, allocations: 132.3 kB / 339.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.02863, allocations: 1.325 MB / 340.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.02867, allocations: 192 / 340.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.02874, allocations: 68.11 kB / 340.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.02876, allocations: 32 kB / 340.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.03033, allocations: 1.181 MB / 342.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.03436, allocations: 3.472 MB / 345.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.03567, allocations: 1.154 MB / 346.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.03624, allocations: 456 kB / 347.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.992e-05/0.03633, allocations: 28.98 kB / 347.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.03636, allocations: 47.5 kB / 347.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.465e-06/0.03636, allocations: 0 / 347.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005947/0.04231, allocations: 3.552 MB / 350.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.04236, allocations: 90.11 kB / 350.8 MB, free: 5.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.04267, allocations: 413.3 kB / 351.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.04272, allocations: 45.7 kB / 351.3 MB, free: 5.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.04292, allocations: 464.6 kB / 351.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.04314, allocations: 448.1 kB / 352.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.04336, allocations: 223.5 kB / 352.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.04348, allocations: 374.8 kB / 352.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/0.0441, allocations: 443.8 kB / 353.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.04486, allocations: 0.7208 MB / 353.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.04629, allocations: 1.183 MB / 355.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.0463, allocations: 4 kB / 355.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001838/0.04814, allocations: 1.463 MB / 356.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.04816, allocations: 8 kB / 356.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.04817, allocations: 11.94 kB / 356.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.04852, allocations: 197.6 kB / 356.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.04913, allocations: 295.5 kB / 357.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.05207, allocations: 4.11 MB / 361.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.0525, allocations: 75.91 kB / 361.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.05257, allocations: 59.92 kB / 361.3 MB, free: 10.62 MB / 330.7 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.0002909/0.05286, allocations: 269.6 kB / 361.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.05294, allocations: 71.58 kB / 361.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.05472, allocations: 1.339 MB / 363 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.05472, allocations: 12 kB / 363 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.05473, allocations: 4 kB / 363 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.05474, allocations: 11.97 kB / 363 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.05758, allocations: 2.318 MB / 365.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.05759, allocations: 4 kB / 365.3 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.05808, allocations: 215.8 kB / 365.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.05836, allocations: 173.5 kB / 365.7 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.05841, allocations: 39.91 kB / 365.8 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.06105, allocations: 3.935 MB / 369.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.06105, allocations: 0 / 369.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.06348, allocations: 1.865 MB / 371.6 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.06372, allocations: 159.4 kB / 371.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.06378, allocations: 23.98 kB / 371.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.06409, allocations: 64.02 kB / 371.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.06426, allocations: 96.75 kB / 371.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.06431, allocations: 39.98 kB / 371.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.06453, allocations: 263.2 kB / 372.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06453, allocations: 4 kB / 372.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008168/0.06534, allocations: 300 kB / 372.5 MB, free: 15.09 MB / 346.7 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.002804/0.06815, allocations: 2.486 MB / 375 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.06991, allocations: 1.395 MB / 376.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.06992, allocations: 0 / 376.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.0708, allocations: 0.8152 MB / 377.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.07119, allocations: 81.02 kB / 377.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.07963, allocations: 7.628 MB / 384.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.07993, allocations: 416.3 kB / 385.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.08031, allocations: 154.6 kB / 385.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.08065, allocations: 344.4 kB / 385.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.08065, allocations: 0 / 385.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.1132, allocations: 18.49 MB / 404.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.553, allocations: 11.92 kB / 404.3 MB, free: 15.09 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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: 9.290912202559412]