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.001697/0.001697, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002114/0.002114, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001505/0.001505, allocations: 48.05 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004945/0.2612, allocations: 3.234 MB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.2629, allocations: 0.923 MB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2631, allocations: 8 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.2634, allocations: 95.09 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2638, allocations: 172.4 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2642, allocations: 171.7 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.2648, allocations: 0.6386 MB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.2651, allocations: 142 kB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.2654, allocations: 255 kB / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.2657, allocations: 274.8 kB / 437 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.303e-05/0.2658, allocations: 55.94 kB / 437 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.2659, allocations: 52 kB / 437.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.266, allocations: 119.5 kB / 437.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.2662, allocations: 234.8 kB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.2669, allocations: 0.6417 MB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2669, allocations: 0 / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2669, allocations: 0 / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2669, allocations: 0 / 438.1 MB, free: 15.63 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.001482/0.2684, allocations: 0.8011 MB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2684, allocations: 12.03 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.875e-05/0.2685, allocations: 94.7 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.2686, allocations: 64.52 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.2691, allocations: 294.1 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.2692, allocations: 37.69 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.2692, allocations: 52.12 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.2701, allocations: 442.4 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2701, allocations: 0 / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.2701, allocations: 24 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2702, allocations: 12 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.271, allocations: 389 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.2735, allocations: 1.324 MB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.2742, allocations: 299.1 kB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.2746, allocations: 165.4 kB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.2746, allocations: 8.328 kB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2746, allocations: 42.77 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.2746, allocations: 4 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003224/0.2779, allocations: 1.203 MB / 443.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2779, allocations: 59.91 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.2784, allocations: 421.4 kB / 443.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2784, allocations: 33.7 kB / 443.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2786, allocations: 308.7 kB / 444.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.2788, allocations: 198.3 kB / 444.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.279, allocations: 114.3 kB / 444.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2791, allocations: 362.8 kB / 444.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.2796, allocations: 173.2 kB / 444.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.2801, allocations: 299.1 kB / 445.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.2811, allocations: 496.1 kB / 445.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2811, allocations: 7.875 kB / 445.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00177/0.2828, allocations: 0.7444 MB / 446.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2829, allocations: 4 kB / 446.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2829, allocations: 4 kB / 446.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/0.2834, allocations: 181.6 kB / 446.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.2839, allocations: 119.8 kB / 446.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.2883, allocations: 4.027 MB / 450.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.2887, allocations: 31.98 kB / 450.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.2887, allocations: 23.98 kB / 450.8 MB, free: 2.301 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.0002347/0.2889, allocations: 181.7 kB / 451 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.289, allocations: 51.67 kB / 451.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2892, allocations: 65.02 kB / 451.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2892, allocations: 12 kB / 451.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.2892, allocations: 4 kB / 451.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2892, allocations: 3.984 kB / 451.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.2915, allocations: 1.197 MB / 452.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2915, allocations: 0 / 452.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.2918, allocations: 71.89 kB / 452.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.2922, allocations: 157.7 kB / 452.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.2923, allocations: 27.92 kB / 452.6 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.2963, allocations: 3.853 MB / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2963, allocations: 0 / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.2976, allocations: 0.6963 MB / 457.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2977, allocations: 51.59 kB / 457.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.2978, allocations: 8 kB / 457.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.2981, allocations: 27.97 kB / 457.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.2982, allocations: 48.34 kB / 457.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.2982, allocations: 16 kB / 457.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.2985, allocations: 287.1 kB / 457.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2985, allocations: 0 / 457.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.2993, allocations: 152 kB / 457.7 MB, free: 11.08 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.001626/0.3009, allocations: 1.244 MB / 459 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3025, allocations: 0.7581 MB / 459.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3025, allocations: 0 / 459.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.3033, allocations: 0.5191 MB / 460.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3037, allocations: 45.59 kB / 460.3 MB, free: 8.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.3107, allocations: 4.67 MB / 465 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.311, allocations: 259 kB / 465.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.3112, allocations: 44.36 kB / 465.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.3114, allocations: 183.4 kB / 465.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3114, allocations: 0 / 465.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04449/0.3559, allocations: 10.79 MB / 476.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.12, allocations: 6.234 kB / 476.2 MB, free: 8.414 MB / 382.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.561103312997147]