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.001621/0.001621, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001741/0.001741, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001599/0.001599, allocations: 47.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008814/0.2621, allocations: 3.232 MB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.2653, allocations: 0.923 MB / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.2656, allocations: 19.88 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.266, allocations: 95.09 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.2667, allocations: 164.4 kB / 435.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.2675, allocations: 179.7 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2687, allocations: 0.6386 MB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.2691, allocations: 130 kB / 436.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.2696, allocations: 243 kB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.2701, allocations: 242.6 kB / 436.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2702, allocations: 52 kB / 437 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2704, allocations: 52 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.2705, allocations: 127.5 kB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.271, allocations: 234.8 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.2721, allocations: 0.6379 MB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.2721, allocations: 7.938 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2721, allocations: 0 / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.2722, allocations: 0 / 438 MB, free: 15.66 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.002521/0.2747, allocations: 0.7933 MB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.2747, allocations: 12.03 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.2749, allocations: 90.7 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.275, allocations: 68.5 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.276, allocations: 302 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.276, allocations: 41.69 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.2762, allocations: 56.11 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.2777, allocations: 434.5 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.2777, allocations: 0 / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.2777, allocations: 20 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.2778, allocations: 12 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.2794, allocations: 389 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.2838, allocations: 1.317 MB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.285, allocations: 307.4 kB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/0.2857, allocations: 168.9 kB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.2858, allocations: 12.31 kB / 442 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.2858, allocations: 30.89 kB / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/0.2858, allocations: 0 / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.006055/0.2919, allocations: 1.199 MB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.292, allocations: 59.89 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.2929, allocations: 417.5 kB / 443.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.2929, allocations: 37.7 kB / 443.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.2933, allocations: 312.7 kB / 444 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.2936, allocations: 206.2 kB / 444.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.2939, allocations: 110.3 kB / 444.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.2942, allocations: 358.8 kB / 444.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009005/0.2951, allocations: 177.2 kB / 444.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.2962, allocations: 303.2 kB / 445.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.2981, allocations: 0.4921 MB / 445.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.2981, allocations: 3.938 kB / 445.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00293/0.301, allocations: 0.7325 MB / 446.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.301, allocations: 4 kB / 446.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3011, allocations: 8.219 kB / 446.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3021, allocations: 181.5 kB / 446.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/0.3031, allocations: 111.9 kB / 446.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007939/0.311, allocations: 4.034 MB / 450.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.3118, allocations: 35.97 kB / 450.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.3119, allocations: 24.06 kB / 450.8 MB, free: 2.34 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.000395/0.3123, allocations: 177.7 kB / 451 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3124, allocations: 51.67 kB / 451 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3126, allocations: 69 kB / 451.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3127, allocations: 4 kB / 451.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.3127, allocations: 4 kB / 451.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3127, allocations: 0 / 451.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.317, allocations: 1.205 MB / 452.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.317, allocations: 3.984 kB / 452.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.3176, allocations: 67.91 kB / 452.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008103/0.3184, allocations: 165.6 kB / 452.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.3184, allocations: 8 kB / 452.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/0.3256, allocations: 3.864 MB / 456.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3256, allocations: 4.125 kB / 456.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.328, allocations: 0.6923 MB / 457.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.3281, allocations: 51.7 kB / 457.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.3282, allocations: 15.94 kB / 457.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.3288, allocations: 23.98 kB / 457.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3289, allocations: 48.28 kB / 457.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.329, allocations: 16 kB / 457.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006071/0.3296, allocations: 279.2 kB / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3296, allocations: 0 / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001329/0.3309, allocations: 156 kB / 457.7 MB, free: 11.12 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.003018/0.3339, allocations: 1.252 MB / 458.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.3366, allocations: 0.7612 MB / 459.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3366, allocations: 0 / 459.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.3381, allocations: 0.5085 MB / 460.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.3388, allocations: 45.58 kB / 460.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.3513, allocations: 4.655 MB / 464.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.3518, allocations: 263 kB / 465.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.3521, allocations: 44.36 kB / 465.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.3526, allocations: 179.4 kB / 465.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3526, allocations: 4 kB / 465.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/0.4147, allocations: 10.6 MB / 476 MB, free: 8.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.28, allocations: 11.48 kB / 476 MB, free: 8.648 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.796551360748708]