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.001899/0.001899, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002253/0.002253, allocations: 194.4 kB / 23.71 MB, free: 4.406 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.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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.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 0.002567/0.002567, allocations: 43.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2444, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005174/0.2496, allocations: 3.213 MB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2515, allocations: 0.8687 MB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.2517, allocations: 8 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.252, allocations: 103 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.2524, allocations: 162.7 kB / 426.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.2528, allocations: 171.7 kB / 427.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000633/0.2534, allocations: 0.6309 MB / 427.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2536, allocations: 135.6 kB / 427.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.254, allocations: 247 kB / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.2543, allocations: 238.7 kB / 428.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.2543, allocations: 52 kB / 428.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.2544, allocations: 52 kB / 428.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2545, allocations: 127.5 kB / 428.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.2548, allocations: 226.9 kB / 428.8 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.2554, allocations: 0.6417 MB / 429.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2554, allocations: 0 / 429.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2554, allocations: 0 / 429.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2554, allocations: 0 / 429.4 MB, free: 7.5 MB / 334.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.001458/0.2569, allocations: 0.7934 MB / 430.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2569, allocations: 12.03 kB / 430.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.559e-05/0.257, allocations: 94.69 kB / 430.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.2571, allocations: 60.56 kB / 430.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.2576, allocations: 298.1 kB / 430.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.2576, allocations: 37.69 kB / 430.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.2577, allocations: 56.08 kB / 430.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/0.2585, allocations: 438.5 kB / 431.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2585, allocations: 0 / 431.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.2586, allocations: 24 kB / 431.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2586, allocations: 12 kB / 431.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.2594, allocations: 396.9 kB / 431.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.2619, allocations: 1.305 MB / 432.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.2625, allocations: 308.8 kB / 433.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.2629, allocations: 169.5 kB / 433.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.263, allocations: 8.328 kB / 433.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.263, allocations: 34.89 kB / 433.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/0.263, allocations: 0 / 433.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003237/0.2662, allocations: 1.181 MB / 434.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2663, allocations: 63.91 kB / 434.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.2667, allocations: 409.5 kB / 435.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2668, allocations: 29.7 kB / 435.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.267, allocations: 312.6 kB / 435.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2671, allocations: 202.3 kB / 435.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2673, allocations: 106.3 kB / 435.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2675, allocations: 366.7 kB / 436.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.2679, allocations: 173.2 kB / 436.2 MB, free: 460 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.2684, allocations: 303.2 kB / 436.5 MB, free: 116 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.2694, allocations: 496 kB / 437 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.2694, allocations: 11.92 kB / 437 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001463/0.2708, allocations: 0.7366 MB / 437.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2708, allocations: 4 kB / 437.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2709, allocations: 8 kB / 437.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.2714, allocations: 183.7 kB / 438 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.2718, allocations: 111.8 kB / 438.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.2761, allocations: 4.013 MB / 442.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.2766, allocations: 35.97 kB / 442.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.2766, allocations: 23.94 kB / 442.1 MB, free: 10.22 MB / 350.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.000231/0.2768, allocations: 180.7 kB / 442.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.2769, allocations: 55.61 kB / 442.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.277, allocations: 60.97 kB / 442.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.277, allocations: 16.05 kB / 442.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.277, allocations: 4 kB / 442.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2771, allocations: 3.984 kB / 442.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.2794, allocations: 1.201 MB / 443.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.2794, allocations: 7.938 kB / 443.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.2797, allocations: 67.95 kB / 443.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.2801, allocations: 161.6 kB / 443.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2801, allocations: 16 kB / 443.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.284, allocations: 3.849 MB / 447.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.284, allocations: 11.95 kB / 447.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2853, allocations: 0.6963 MB / 448.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.2854, allocations: 55.59 kB / 448.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.2854, allocations: 12 kB / 448.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.2857, allocations: 19.97 kB / 448.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.2858, allocations: 44.36 kB / 448.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.2858, allocations: 23.98 kB / 448.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.2861, allocations: 275.2 kB / 448.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2861, allocations: 0 / 448.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006831/0.2868, allocations: 148 kB / 449 MB, free: 3 MB / 350.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.001618/0.2884, allocations: 1.242 MB / 450.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.29, allocations: 0.762 MB / 451 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.29, allocations: 0 / 451 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.2908, allocations: 0.5114 MB / 451.5 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.2912, allocations: 53.41 kB / 451.6 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.2983, allocations: 4.621 MB / 456.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.2986, allocations: 255 kB / 456.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.2988, allocations: 40.38 kB / 456.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.2991, allocations: 175.4 kB / 456.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2991, allocations: 3.938 kB / 456.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.3434, allocations: 10.48 MB / 467.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.2, allocations: 10.92 kB / 467.2 MB, free: 0.6992 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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] "Error: Could not read variable magFluxSensor.Phi in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.644733941182494]