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.000966/0.000966, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0019/0.0019, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8894/0.8894, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.98e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003378/0.003398, allocations: 3.23 MB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004926, allocations: 0.9346 MB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.00513, allocations: 11.94 kB / 328.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.005345, allocations: 103 kB / 328.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.005659, allocations: 170.6 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.005945, allocations: 175.7 kB / 329.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.006382, allocations: 0.6513 MB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.006581, allocations: 126 kB / 330 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.006893, allocations: 371.1 kB / 330.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.00707, allocations: 199.3 kB / 330.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.00713, allocations: 56 kB / 330.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.007179, allocations: 52 kB / 330.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.00725, allocations: 123.5 kB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.007376, allocations: 191.5 kB / 330.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.007872, allocations: 0.6462 MB / 331.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007875, allocations: 0 / 331.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007876, allocations: 0 / 331.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.007884, allocations: 0 / 331.6 MB, free: 8.902 MB / 298.7 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.001012/0.008896, allocations: 0.7895 MB / 332.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.008933, allocations: 8.031 kB / 332.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.009008, allocations: 94.69 kB / 332.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.009075, allocations: 72.52 kB / 332.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.009442, allocations: 297.3 kB / 332.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.009471, allocations: 37.69 kB / 332.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.009535, allocations: 60.31 kB / 332.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.01006, allocations: 431 kB / 333.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01007, allocations: 3.938 kB / 333.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.0101, allocations: 20 kB / 333.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01011, allocations: 16 kB / 333.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.01063, allocations: 389 kB / 333.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.01224, allocations: 1.321 MB / 335.1 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.0127, allocations: 312.8 kB / 335.4 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.01295, allocations: 164.2 kB / 335.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.01298, allocations: 4.328 kB / 335.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.01299, allocations: 42.89 kB / 335.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.013, allocations: 0 / 335.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.001925/0.01492, allocations: 1.2 MB / 336.8 MB, free: 3.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.01496, allocations: 59.91 kB / 336.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.01529, allocations: 421.5 kB / 337.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01532, allocations: 33.7 kB / 337.3 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.01548, allocations: 312.7 kB / 337.6 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.01558, allocations: 194.3 kB / 337.8 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01569, allocations: 106.3 kB / 337.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.0158, allocations: 358.8 kB / 338.3 MB, free: 2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.01606, allocations: 181.2 kB / 338.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.01638, allocations: 303 kB / 338.7 MB, free: 1.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.01697, allocations: 496.2 kB / 339.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01697, allocations: 4 kB / 339.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008858/0.01786, allocations: 0.7368 MB / 340 MB, free: 200 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01788, allocations: 8 kB / 340 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01788, allocations: 3.938 kB / 340 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.01824, allocations: 185.5 kB / 340.1 MB, free: 0 / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.01852, allocations: 111.8 kB / 340.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.02123, allocations: 4.036 MB / 344.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.02143, allocations: 32.05 kB / 344.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.02146, allocations: 20 kB / 344.3 MB, free: 11.58 MB / 314.7 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.0001512/0.02161, allocations: 185.7 kB / 344.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.0217, allocations: 51.66 kB / 344.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.02178, allocations: 65.06 kB / 344.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02178, allocations: 4 kB / 344.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.0218, allocations: 11.94 kB / 344.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.0218, allocations: 3.984 kB / 344.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.02336, allocations: 1.203 MB / 345.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02337, allocations: 0 / 345.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.02352, allocations: 71.89 kB / 345.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/0.02384, allocations: 157.7 kB / 346.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.02386, allocations: 8 kB / 346.1 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.02633, allocations: 3.86 MB / 349.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02633, allocations: 4.031 kB / 350 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.02706, allocations: 0.6888 MB / 350.6 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.02711, allocations: 51.66 kB / 350.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.02713, allocations: 11.94 kB / 350.7 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02728, allocations: 23.97 kB / 350.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.02737, allocations: 48.36 kB / 350.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.02739, allocations: 19.98 kB / 350.8 MB, free: 4.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.02759, allocations: 283.4 kB / 351.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02759, allocations: 4 kB / 351.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.02804, allocations: 148 kB / 351.2 MB, free: 4.355 MB / 314.7 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.001213/0.02925, allocations: 1.248 MB / 352.5 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.03017, allocations: 0.7617 MB / 353.2 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03017, allocations: 4.812 kB / 353.2 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.03062, allocations: 0.5041 MB / 353.7 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.03093, allocations: 50.02 kB / 353.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.03544, allocations: 4.682 MB / 358.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.03586, allocations: 263 kB / 358.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.03597, allocations: 44.36 kB / 358.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.03613, allocations: 180.4 kB / 358.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03614, allocations: 0 / 358.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.06218, allocations: 10.75 MB / 369.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.551, allocations: 8.062 kB / 369.7 MB, free: 1.699 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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: 9.323603263124824]