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.001741/0.001741, allocations: 124 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.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.002065/0.002065, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.607/1.607, allocations: 225.6 MB / 249.1 MB, free: 3.617 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: 52.02 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005456/0.127, allocations: 3.515 MB / 421.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1291, allocations: 0.9308 MB / 422.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.1293, allocations: 8 kB / 422.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1296, allocations: 99.08 kB / 422.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.13, allocations: 158.7 kB / 422.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.1305, allocations: 175.8 kB / 422.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.1312, allocations: 0.627 MB / 423.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1315, allocations: 137.5 kB / 423.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.1318, allocations: 251 kB / 423.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1321, allocations: 278.7 kB / 423.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.1322, allocations: 52 kB / 424 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.1323, allocations: 52 kB / 424 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1324, allocations: 127.5 kB / 424.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.1326, allocations: 278.5 kB / 424.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.1333, allocations: 0.63 MB / 425.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1333, allocations: 0 / 425.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1333, allocations: 4 kB / 425.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1333, allocations: 0 / 425.1 MB, free: 5.293 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.001586/0.1349, allocations: 0.8609 MB / 425.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1349, allocations: 12.03 kB / 425.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.1351, allocations: 90.7 kB / 426 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1352, allocations: 64.56 kB / 426.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.1357, allocations: 351.3 kB / 426.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.1358, allocations: 37.69 kB / 426.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.1358, allocations: 56.12 kB / 426.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.1367, allocations: 438.5 kB / 427 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1367, allocations: 4 kB / 427 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.1368, allocations: 23.94 kB / 427 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1368, allocations: 12 kB / 427 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.1377, allocations: 385 kB / 427.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.1404, allocations: 1.585 MB / 429 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.1413, allocations: 378.7 kB / 429.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.1417, allocations: 165.4 kB / 429.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.1417, allocations: 8.328 kB / 429.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1417, allocations: 34.89 kB / 429.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.1417, allocations: 4 kB / 429.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003442/0.1452, allocations: 1.188 MB / 430.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1452, allocations: 63.91 kB / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.1457, allocations: 397.6 kB / 431.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1457, allocations: 37.7 kB / 431.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.146, allocations: 308.6 kB / 431.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.1462, allocations: 202.3 kB / 431.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.1463, allocations: 110.3 kB / 431.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1465, allocations: 358.8 kB / 432.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.147, allocations: 181.2 kB / 432.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.1475, allocations: 297.7 kB / 432.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.1485, allocations: 494.5 kB / 433.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1485, allocations: 7.938 kB / 433.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001558/0.1501, allocations: 0.7345 MB / 433.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1501, allocations: 4 kB / 433.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1501, allocations: 4.062 kB / 433.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.1507, allocations: 185.6 kB / 434 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.1512, allocations: 111.8 kB / 434.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.1559, allocations: 4.276 MB / 438.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.1563, allocations: 31.92 kB / 438.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.1563, allocations: 23.98 kB / 438.5 MB, free: 7.18 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.0002618/0.1566, allocations: 181.7 kB / 438.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1567, allocations: 55.73 kB / 438.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1568, allocations: 60.97 kB / 438.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.1569, allocations: 8 kB / 438.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.1569, allocations: 4 kB / 438.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1569, allocations: 3.984 kB / 438.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.1593, allocations: 1.288 MB / 440.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1593, allocations: 4.188 kB / 440.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1596, allocations: 67.89 kB / 440.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.1601, allocations: 173.5 kB / 440.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.1601, allocations: 12 kB / 440.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.1643, allocations: 4.095 MB / 444.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1643, allocations: 3.938 kB / 444.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1656, allocations: 0.6978 MB / 445.1 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2182/0.3839, allocations: 120.8 kB / 445.2 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3841, allocations: 12.92 kB / 445.3 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.3845, allocations: 23.97 kB / 445.3 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3846, allocations: 42.05 kB / 445.3 MB, free: 29.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.3846, allocations: 12.84 kB / 445.3 MB, free: 29.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.3849, allocations: 277.1 kB / 445.6 MB, free: 29.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 0.8125 kB / 445.6 MB, free: 29.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007813/0.3857, allocations: 152.3 kB / 445.8 MB, free: 29.39 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.001375/0.3871, allocations: 1.254 MB / 447 MB, free: 28.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.3885, allocations: 0.7607 MB / 447.8 MB, free: 28.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3885, allocations: 0.6562 kB / 447.8 MB, free: 28.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.3892, allocations: 0.5086 MB / 448.3 MB, free: 28.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3896, allocations: 45.14 kB / 448.3 MB, free: 28.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3961, allocations: 4.616 MB / 452.9 MB, free: 26.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3965, allocations: 0.8599 MB / 453.8 MB, free: 25.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.3967, allocations: 45.69 kB / 453.8 MB, free: 25.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.3969, allocations: 172.9 kB / 454 MB, free: 25.69 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3969, allocations: 0 / 454 MB, free: 25.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.4503, allocations: 9.806 MB / 463.8 MB, free: 24.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.44, allocations: 10.98 kB / 463.8 MB, free: 24.05 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.160282786004245]