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.001972/0.001972, allocations: 116.7 kB / 17.74 MB, free: 5.312 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.001922/0.001922, allocations: 186.9 kB / 20.68 MB, free: 2.379 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.469/1.469, allocations: 222.9 MB / 246.4 MB, free: 4.172 MB / 190.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.001557/0.001557, allocations: 47.92 kB / 357.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 49.44 MB / 406.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005289/0.1198, allocations: 3.483 MB / 410.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1218, allocations: 0.9308 MB / 411.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.1221, allocations: 4 kB / 411.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1225, allocations: 99.08 kB / 411.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.123, allocations: 154.8 kB / 411.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1234, allocations: 175.7 kB / 411.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007253/0.1242, allocations: 0.6348 MB / 412.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.1245, allocations: 189.7 kB / 412.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1249, allocations: 243.1 kB / 412.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.1252, allocations: 274.7 kB / 413.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.1253, allocations: 52 kB / 413.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.1254, allocations: 52 kB / 413.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1256, allocations: 119.6 kB / 413.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.1259, allocations: 286.5 kB / 413.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.1266, allocations: 0.63 MB / 414.2 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1266, allocations: 0 / 414.2 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1266, allocations: 0 / 414.2 MB, free: 60 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1266, allocations: 4 kB / 414.2 MB, free: 56 kB / 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.001636/0.1283, allocations: 0.8664 MB / 415.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1283, allocations: 12.03 kB / 415.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.1285, allocations: 94.64 kB / 415.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.1286, allocations: 60.56 kB / 415.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.1291, allocations: 347.3 kB / 415.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.1292, allocations: 37.69 kB / 415.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.1293, allocations: 56.12 kB / 415.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.1301, allocations: 438.5 kB / 416.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1302, allocations: 0 / 416.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.1302, allocations: 20 kB / 416.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1302, allocations: 12 kB / 416.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.1312, allocations: 393 kB / 416.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.1338, allocations: 1.582 MB / 418.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.1346, allocations: 402.7 kB / 418.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.135, allocations: 177.4 kB / 418.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1351, allocations: 8.391 kB / 418.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1351, allocations: 38.89 kB / 418.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/0.1351, allocations: 4 kB / 418.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003442/0.1386, allocations: 1.2 MB / 419.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1386, allocations: 55.97 kB / 420 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.1391, allocations: 397.6 kB / 420.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1392, allocations: 41.64 kB / 420.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.1394, allocations: 308.6 kB / 420.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1396, allocations: 198.3 kB / 420.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1398, allocations: 110.3 kB / 421 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.14, allocations: 354.8 kB / 421.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.1404, allocations: 185.2 kB / 421.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.141, allocations: 299 kB / 421.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/0.142, allocations: 494.5 kB / 422.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.142, allocations: 7.938 kB / 422.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001558/0.1436, allocations: 0.7424 MB / 423.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1436, allocations: 8 kB / 423.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1436, allocations: 4 kB / 423.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.1442, allocations: 185 kB / 423.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.1447, allocations: 107.9 kB / 423.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.1494, allocations: 4.285 MB / 427.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.1499, allocations: 27.98 kB / 427.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.1499, allocations: 27.98 kB / 427.7 MB, free: 1.879 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.000258/0.1502, allocations: 181.8 kB / 427.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1503, allocations: 47.67 kB / 427.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1504, allocations: 64.97 kB / 428 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1504, allocations: 4 kB / 428 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.1504, allocations: 4 kB / 428 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1505, allocations: 3.984 kB / 428 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.1529, allocations: 1.307 MB / 429.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1529, allocations: 0 / 429.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.1532, allocations: 71.89 kB / 429.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2043/0.3575, allocations: 155 kB / 429.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.3577, allocations: 11.28 kB / 429.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.3609, allocations: 4.103 MB / 433.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3609, allocations: 2.531 kB / 433.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3622, allocations: 0.6988 MB / 434.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3623, allocations: 125.9 kB / 434.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3624, allocations: 13.97 kB / 434.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.3627, allocations: 20.47 kB / 434.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3628, allocations: 50.91 kB / 434.6 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3628, allocations: 16.34 kB / 434.6 MB, free: 18.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003086/0.3632, allocations: 278.4 kB / 434.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3632, allocations: 3.625 kB / 434.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006975/0.3639, allocations: 148.7 kB / 435 MB, free: 18.62 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.001353/0.3652, allocations: 1.253 MB / 436.2 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3667, allocations: 0.793 MB / 437 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3668, allocations: 5.906 kB / 437 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.3676, allocations: 0.5193 MB / 437.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3681, allocations: 48.62 kB / 437.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.375, allocations: 4.636 MB / 442.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3754, allocations: 0.8584 MB / 443.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.3756, allocations: 47.78 kB / 443.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3759, allocations: 172.6 kB / 443.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3759, allocations: 0 / 443.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.436, allocations: 9.706 MB / 453 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.33, allocations: 8.969 kB / 453 MB, free: 12.57 MB / 350.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.78356160200201]