Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.0008425/0.0008425, 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.0008529/0.0008529, allocations: 149.1 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.8515/0.8515, 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.458e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003225/0.00324, allocations: 3.209 MB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004576, allocations: 0.8957 MB / 322.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.004777, allocations: 8 kB / 322.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.004984, allocations: 95.09 kB / 322.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.005269, allocations: 170.6 kB / 322.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.005543, allocations: 175.6 kB / 323 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.005975, allocations: 0.658 MB / 323.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.00618, allocations: 130 kB / 323.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.006581, allocations: 367.1 kB / 324.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.006771, allocations: 199.4 kB / 324.3 MB, free: 452 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.006829, allocations: 52 kB / 324.4 MB, free: 400 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.006875, allocations: 52 kB / 324.4 MB, free: 348 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.006932, allocations: 123.5 kB / 324.5 MB, free: 224 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.00706, allocations: 191.5 kB / 324.7 MB, free: 32 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.007478, allocations: 0.6385 MB / 325.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00748, allocations: 0 / 325.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007481, allocations: 4 kB / 325.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.007487, allocations: 0 / 325.4 MB, free: 15.38 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009225/0.00841, allocations: 0.7778 MB / 326.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.008445, allocations: 8.922 kB / 326.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.008513, allocations: 98.69 kB / 326.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.008572, allocations: 60.56 kB / 326.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.008889, allocations: 293.3 kB / 326.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.008917, allocations: 37.69 kB / 326.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.008962, allocations: 48.38 kB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.009454, allocations: 447 kB / 327.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.009467, allocations: 7.875 kB / 327.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.009493, allocations: 20 kB / 327.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.009502, allocations: 12 kB / 327.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.01008, allocations: 385 kB / 327.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.01158, allocations: 1.318 MB / 328.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.01202, allocations: 304.8 kB / 329.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.01225, allocations: 161.4 kB / 329.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.01228, allocations: 4.328 kB / 329.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.0123, allocations: 34.89 kB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.0123, allocations: 0 / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.001855/0.01415, allocations: 1.201 MB / 330.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.01418, allocations: 55.91 kB / 330.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.01461, allocations: 405.5 kB / 331 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.01463, allocations: 33.7 kB / 331 MB, free: 9.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01476, allocations: 304.6 kB / 331.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/0.01485, allocations: 198.3 kB / 331.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01495, allocations: 114.2 kB / 331.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.01504, allocations: 354.9 kB / 332 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.01528, allocations: 189.1 kB / 332.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.01557, allocations: 295.1 kB / 332.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.01611, allocations: 0.4924 MB / 332.9 MB, free: 7.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01611, allocations: 4 kB / 332.9 MB, free: 7.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008441/0.01696, allocations: 0.7366 MB / 333.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01697, allocations: 8 kB / 333.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01698, allocations: 7.938 kB / 333.7 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.0173, allocations: 177.6 kB / 333.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.01755, allocations: 111.8 kB / 334 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.02025, allocations: 4.024 MB / 338 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.02043, allocations: 27.97 kB / 338 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.02046, allocations: 28 kB / 338.1 MB, free: 2.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0001475/0.02061, allocations: 180.7 kB / 338.2 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.02065, allocations: 47.67 kB / 338.3 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.02072, allocations: 65.02 kB / 338.3 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02072, allocations: 4 kB / 338.3 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.02073, allocations: 7.938 kB / 338.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.02074, allocations: 0 / 338.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.02202, allocations: 1.207 MB / 339.6 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02203, allocations: 4.125 kB / 339.6 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.02216, allocations: 67.89 kB / 339.6 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.0224, allocations: 165.5 kB / 339.8 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.02242, allocations: 12 kB / 339.8 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.02458, allocations: 3.86 MB / 343.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02458, allocations: 3.938 kB / 343.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.02526, allocations: 0.6929 MB / 344.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.02531, allocations: 51.59 kB / 344.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.02533, allocations: 15.92 kB / 344.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.02547, allocations: 23.98 kB / 344.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.02554, allocations: 48.41 kB / 344.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.02555, allocations: 16 kB / 344.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.02574, allocations: 275.2 kB / 344.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02574, allocations: 0 / 344.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.02614, allocations: 152 kB / 344.9 MB, free: 10.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.001048/0.02719, allocations: 1.237 MB / 346.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008317/0.02802, allocations: 0.7619 MB / 346.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02802, allocations: 4 kB / 346.9 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.02843, allocations: 0.4969 MB / 347.4 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.02872, allocations: 56.3 kB / 347.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.0331, allocations: 4.635 MB / 352.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.03327, allocations: 259 kB / 352.4 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.03338, allocations: 44.36 kB / 352.4 MB, free: 3.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.03355, allocations: 176.4 kB / 352.6 MB, free: 2.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.03355, allocations: 4 kB / 352.6 MB, free: 2.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.05739, allocations: 10.63 MB / 363.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.589, allocations: 14.31 kB / 363.2 MB, free: 8.445 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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.172608845867217]