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.001328/0.001328, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002172/0.002172, allocations: 185 kB / 23.72 MB, free: 4.719 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.483/1.483, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001598/0.001598, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2971, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005554/0.3027, allocations: 3.548 MB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3045, allocations: 0.9153 MB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3047, allocations: 11.94 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.305, allocations: 103.1 kB / 427.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.3054, allocations: 166.7 kB / 427.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3058, allocations: 163.7 kB / 427.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.3064, allocations: 0.6309 MB / 428.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3067, allocations: 142 kB / 428.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.3071, allocations: 255 kB / 428.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3074, allocations: 266.7 kB / 428.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.3075, allocations: 55.98 kB / 428.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.3076, allocations: 55.94 kB / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3077, allocations: 115.6 kB / 429 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.3079, allocations: 290.5 kB / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.3086, allocations: 0.6266 MB / 429.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3086, allocations: 0 / 429.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3086, allocations: 0 / 429.9 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3086, allocations: 0 / 429.9 MB, free: 7.246 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.001533/0.3102, allocations: 0.7895 MB / 430.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3102, allocations: 12.03 kB / 430.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.3103, allocations: 94.64 kB / 430.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.3104, allocations: 60.56 kB / 430.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.3109, allocations: 298.1 kB / 431.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.311, allocations: 37.69 kB / 431.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3111, allocations: 56.12 kB / 431.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.3119, allocations: 434.4 kB / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.3119, allocations: 3.984 kB / 431.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.312, allocations: 23.98 kB / 431.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.312, allocations: 12 kB / 431.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.3129, allocations: 397 kB / 432.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.3155, allocations: 1.501 MB / 433.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.3162, allocations: 305 kB / 433.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.3166, allocations: 165.4 kB / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.3166, allocations: 8.266 kB / 434.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3167, allocations: 38.89 kB / 434.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.3167, allocations: 0 / 434.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.00326/0.3199, allocations: 1.189 MB / 435.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.32, allocations: 55.91 kB / 435.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.3205, allocations: 397.6 kB / 435.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3205, allocations: 37.7 kB / 435.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.3207, allocations: 300.7 kB / 436.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.3209, allocations: 210.2 kB / 436.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3211, allocations: 110.3 kB / 436.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.3213, allocations: 354.8 kB / 436.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.3217, allocations: 181.3 kB / 436.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.3223, allocations: 299.1 kB / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.3232, allocations: 492 kB / 437.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.3232, allocations: 7.938 kB / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001495/0.3247, allocations: 0.7484 MB / 438.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3247, allocations: 4 kB / 438.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3247, allocations: 4 kB / 438.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.3253, allocations: 188.3 kB / 438.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.3258, allocations: 111.8 kB / 438.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.3306, allocations: 4.052 MB / 442.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.3311, allocations: 36.05 kB / 442.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3311, allocations: 20 kB / 442.9 MB, free: 9.73 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.0002691/0.3314, allocations: 192.5 kB / 443.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.3315, allocations: 47.72 kB / 443.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3316, allocations: 60.97 kB / 443.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3316, allocations: 8 kB / 443.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/0.3316, allocations: 8 kB / 443.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3317, allocations: 7.984 kB / 443.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.334, allocations: 1.256 MB / 444.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.334, allocations: 0 / 444.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.3344, allocations: 76.02 kB / 444.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.3348, allocations: 161.5 kB / 444.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.3348, allocations: 15.98 kB / 444.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.3391, allocations: 3.891 MB / 448.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3391, allocations: 4.062 kB / 448.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3403, allocations: 0.6923 MB / 449.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.3404, allocations: 47.64 kB / 449.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.3405, allocations: 8 kB / 449.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.3408, allocations: 31.97 kB / 449.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3409, allocations: 52.28 kB / 449.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.3409, allocations: 16 kB / 449.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.3412, allocations: 275.3 kB / 449.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3412, allocations: 3.938 kB / 449.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.3419, allocations: 152 kB / 449.8 MB, free: 2.406 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.001653/0.3436, allocations: 1.244 MB / 451.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3452, allocations: 0.7574 MB / 451.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3452, allocations: 192 / 451.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.3461, allocations: 0.5163 MB / 452.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3465, allocations: 53.08 kB / 452.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007949/0.3545, allocations: 4.609 MB / 457 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.355, allocations: 0.863 MB / 457.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3552, allocations: 44.36 kB / 457.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3555, allocations: 179.4 kB / 458.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3555, allocations: 0 / 458.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.4047, allocations: 10.24 MB / 468.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.81, allocations: 0 / 468.3 MB, free: 15.74 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.36677148599847]