Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001265/0.001265, allocations: 123.4 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.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.001356/0.001356, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.94 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 53.34 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005477/0.1202, allocations: 3.53 MB / 429.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1223, allocations: 0.9736 MB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1225, allocations: 8 kB / 430.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1228, allocations: 95.09 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2395/0.3623, allocations: 166.7 kB / 431.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.3631, allocations: 170.6 kB / 431.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009331/0.364, allocations: 0.6284 MB / 431.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3643, allocations: 143.3 kB / 432 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.3647, allocations: 248.2 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.365, allocations: 270.9 kB / 432.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3651, allocations: 54.16 kB / 432.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3652, allocations: 55.22 kB / 432.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.3653, allocations: 127.8 kB / 432.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3655, allocations: 285.8 kB / 433 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.3661, allocations: 0.6368 MB / 433.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3661, allocations: 0 / 433.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3661, allocations: 0 / 433.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3662, allocations: 1.094 kB / 433.7 MB, free: 7.281 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00153/0.3677, allocations: 0.8729 MB / 434.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3677, allocations: 9.484 kB / 434.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.3678, allocations: 93.77 kB / 434.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3679, allocations: 67.05 kB / 434.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3685, allocations: 359.4 kB / 435.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.3685, allocations: 36.78 kB / 435.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3686, allocations: 51.08 kB / 435.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.3695, allocations: 439.2 kB / 435.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3696, allocations: 3.797 kB / 435.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.3696, allocations: 21.16 kB / 435.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.3696, allocations: 13.03 kB / 435.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.3705, allocations: 391.9 kB / 436 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.3732, allocations: 1.58 MB / 437.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.374, allocations: 387.5 kB / 438 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.3744, allocations: 161.8 kB / 438.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.3744, allocations: 9.062 kB / 438.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3745, allocations: 42.05 kB / 438.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.3745, allocations: 0 / 438.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003571/0.378, allocations: 1.185 MB / 439.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3781, allocations: 62.39 kB / 439.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.3786, allocations: 412.7 kB / 439.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3786, allocations: 36.83 kB / 439.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3788, allocations: 311.7 kB / 440.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3789, allocations: 194.2 kB / 440.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.3791, allocations: 112 kB / 440.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.3792, allocations: 356.6 kB / 440.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.3796, allocations: 182.6 kB / 441 MB, free: 3.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.3801, allocations: 301.5 kB / 441.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.3811, allocations: 495 kB / 441.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.3811, allocations: 1.219 kB / 441.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0016/0.3827, allocations: 0.7303 MB / 442.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3827, allocations: 11.14 kB / 442.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3827, allocations: 7.375 kB / 442.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.3833, allocations: 184.7 kB / 442.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.3838, allocations: 114.3 kB / 442.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.3879, allocations: 4.27 MB / 447.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.3884, allocations: 34.59 kB / 447.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3884, allocations: 23.38 kB / 447.1 MB, free: 15.07 MB / 366.1 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.0002827/0.3887, allocations: 188.6 kB / 447.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.3888, allocations: 54.2 kB / 447.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.3889, allocations: 62.2 kB / 447.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3889, allocations: 9.156 kB / 447.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.389, allocations: 4.469 kB / 447.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.389, allocations: 6.562 kB / 447.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.3918, allocations: 1.293 MB / 448.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3918, allocations: 2.719 kB / 448.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.3921, allocations: 66.03 kB / 448.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.3927, allocations: 166.3 kB / 449 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3927, allocations: 16.95 kB / 449 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.3975, allocations: 4.099 MB / 453.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3975, allocations: 1.219 kB / 453.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.399, allocations: 0.7009 MB / 453.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3992, allocations: 131.6 kB / 453.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3992, allocations: 15.72 kB / 453.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3995, allocations: 20.39 kB / 454 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3997, allocations: 43.09 kB / 454 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3997, allocations: 15.72 kB / 454 MB, free: 9.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004022/0.4001, allocations: 286.6 kB / 454.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4001, allocations: 1.219 kB / 454.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009435/0.401, allocations: 148.7 kB / 454.4 MB, free: 9.691 MB / 366.1 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.001776/0.4028, allocations: 1.247 MB / 455.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.4046, allocations: 0.7648 MB / 456.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4046, allocations: 2.188 kB / 456.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.4055, allocations: 0.5143 MB / 457 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.406, allocations: 45.88 kB / 457 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.4138, allocations: 4.656 MB / 461.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.4144, allocations: 0.8617 MB / 462.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.4146, allocations: 48.8 kB / 462.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4149, allocations: 177.2 kB / 462.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4149, allocations: 1.781 kB / 462.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.4569, allocations: 9.916 MB / 472.7 MB, free: 128 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.44, allocations: 7.344 kB / 472.7 MB, free: 124 kB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magFluxSensor.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.069709963994683]