Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_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_1_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.001769/0.001769, allocations: 55.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 53.34 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.2138/0.3175, allocations: 6.729 MB / 433.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.3213, allocations: 2.475 MB / 435.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.322, allocations: 25.22 kB / 435.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.3255, allocations: 1.895 MB / 437.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.3271, allocations: 0.5499 MB / 438 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3296, allocations: 1.321 MB / 439.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.3313, allocations: 1.121 MB / 440.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.3328, allocations: 0.713 MB / 441.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.3337, allocations: 0.4899 MB / 441.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.3344, allocations: 0.6165 MB / 442.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3345, allocations: 107.6 kB / 442.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.3355, allocations: 445.3 kB / 442.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3357, allocations: 253 kB / 443.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.3362, allocations: 0.5552 MB / 443.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.3386, allocations: 1.676 MB / 445.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3386, allocations: 0 / 445.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3386, allocations: 0 / 445.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.3386, allocations: 1.797 kB / 445.3 MB, free: 2.34 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.006631/0.3452, allocations: 2.051 MB / 447.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3453, allocations: 9.578 kB / 447.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.3455, allocations: 191.4 kB / 447.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.349, allocations: 494.2 kB / 448 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3494, allocations: 315 kB / 448.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.3495, allocations: 103.7 kB / 448.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.3497, allocations: 127.3 kB / 448.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.3522, allocations: 1.302 MB / 449.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.3522, allocations: 5.875 kB / 449.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3523, allocations: 51.09 kB / 449.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.3523, allocations: 31.25 kB / 449.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3549, allocations: 1.192 MB / 451.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007149/0.3621, allocations: 4.282 MB / 455.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.3649, allocations: 2.352 MB / 457.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009437/0.3658, allocations: 458.3 kB / 458.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.366, allocations: 209 kB / 458.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3661, allocations: 45.91 kB / 458.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.3661, allocations: 0 / 458.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01088/0.377, allocations: 3.77 MB / 462.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.377, allocations: 93.8 kB / 462.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.3776, allocations: 396.4 kB / 462.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.3777, allocations: 50.12 kB / 462.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.378, allocations: 466.2 kB / 463.2 MB, free: 7.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.3784, allocations: 439 kB / 463.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.3788, allocations: 234.7 kB / 463.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.379, allocations: 372.4 kB / 464.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3801, allocations: 437.2 kB / 464.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.3815, allocations: 0.6887 MB / 465.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.3839, allocations: 1.183 MB / 466.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.3839, allocations: 5.625 kB / 466.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003383/0.3873, allocations: 1.455 MB / 468 MB, free: 4.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.3873, allocations: 8.188 kB / 468 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3873, allocations: 7.812 kB / 468 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.3879, allocations: 198.6 kB / 468.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3891, allocations: 290.1 kB / 468.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.3936, allocations: 4.379 MB / 472.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.3945, allocations: 76.06 kB / 472.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/0.3946, allocations: 56.45 kB / 473 MB, free: 124 kB / 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.0004874/0.3951, allocations: 261.6 kB / 473.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.3952, allocations: 77.12 kB / 473.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.3984, allocations: 1.324 MB / 474.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.3984, allocations: 15.44 kB / 474.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3984, allocations: 3.625 kB / 474.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.3985, allocations: 13.31 kB / 474.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.4033, allocations: 2.598 MB / 477.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4033, allocations: 4.172 kB / 477.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/0.4043, allocations: 207.7 kB / 477.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.4048, allocations: 179.3 kB / 477.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.4048, allocations: 33.11 kB / 477.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.4091, allocations: 4.185 MB / 481.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4091, allocations: 4 kB / 481.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.4131, allocations: 1.865 MB / 483.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.4135, allocations: 224.6 kB / 484 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.4136, allocations: 27.98 kB / 484 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.4143, allocations: 60.02 kB / 484.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.4145, allocations: 88.81 kB / 484.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.4146, allocations: 35.98 kB / 484.2 MB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.4149, allocations: 271.2 kB / 484.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4149, allocations: 0 / 484.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00127/0.4162, allocations: 311.9 kB / 484.7 MB, free: 4.973 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.004387/0.4205, allocations: 2.486 MB / 487.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.4236, allocations: 1.384 MB / 488.6 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4236, allocations: 8.062 kB / 488.6 MB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.4251, allocations: 0.8152 MB / 489.4 MB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.4257, allocations: 69.73 kB / 489.5 MB, free: 124 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.4397, allocations: 7.571 MB / 497.1 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.4404, allocations: 1.005 MB / 498.1 MB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005524/0.4409, allocations: 142.6 kB / 498.2 MB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.4415, allocations: 356.3 kB / 498.6 MB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4415, allocations: 0 / 498.6 MB, free: 6.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06552/0.507, allocations: 17.65 MB / 0.5041 GB, free: 5.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/23.32, allocations: 7.094 kB / 0.5041 GB, free: 5.273 MB / 414.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 25.660654718987644]