Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2435, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005108/0.2486, allocations: 3.235 MB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2503, allocations: 0.9153 MB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2505, allocations: 11.94 kB / 435.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.2507, allocations: 99.08 kB / 435.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.2511, allocations: 168.4 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.2515, allocations: 167.8 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007013/0.2522, allocations: 0.6386 MB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.2525, allocations: 134 kB / 436.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.2528, allocations: 247 kB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.2531, allocations: 242.7 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.2532, allocations: 52 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.2533, allocations: 52 kB / 437.1 MB, free: 492 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2534, allocations: 127.5 kB / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2537, allocations: 234.8 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.2544, allocations: 0.6417 MB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2544, allocations: 0 / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2544, allocations: 0 / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2544, allocations: 0 / 438.1 MB, free: 15.48 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.001528/0.2559, allocations: 0.7933 MB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.256, allocations: 15.98 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.2561, allocations: 94.64 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2562, allocations: 64.52 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.2567, allocations: 298.1 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.2568, allocations: 41.69 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.2568, allocations: 52.12 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.2577, allocations: 442.4 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2577, allocations: 0 / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2577, allocations: 20 kB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2577, allocations: 12 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/0.2586, allocations: 393 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.2611, allocations: 1.32 MB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.2618, allocations: 312.8 kB / 441.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.2622, allocations: 160.4 kB / 442.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.2622, allocations: 8.328 kB / 442.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2623, allocations: 38.88 kB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.2623, allocations: 0 / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003325/0.2656, allocations: 1.207 MB / 443.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2656, allocations: 55.91 kB / 443.4 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.2662, allocations: 421.4 kB / 443.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2662, allocations: 29.7 kB / 443.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.2664, allocations: 320.6 kB / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.2666, allocations: 202.3 kB / 444.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.2668, allocations: 110.3 kB / 444.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.2669, allocations: 358.8 kB / 444.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.2674, allocations: 173.2 kB / 444.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.2679, allocations: 299.1 kB / 445.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.2689, allocations: 0.4922 MB / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2689, allocations: 3.938 kB / 445.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001501/0.2704, allocations: 0.7285 MB / 446.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2704, allocations: 8.312 kB / 446.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2704, allocations: 8 kB / 446.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.2709, allocations: 181.5 kB / 446.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.2714, allocations: 115.9 kB / 446.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.2759, allocations: 4.027 MB / 450.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.2763, allocations: 32.09 kB / 450.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.2763, allocations: 28 kB / 450.8 MB, free: 2.148 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.0002367/0.2766, allocations: 178 kB / 451 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.2767, allocations: 51.67 kB / 451.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.2768, allocations: 68.98 kB / 451.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2768, allocations: 11.94 kB / 451.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.2768, allocations: 4 kB / 451.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2768, allocations: 0 / 451.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2791, allocations: 1.205 MB / 452.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2791, allocations: 0 / 452.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.2794, allocations: 63.89 kB / 452.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/0.2799, allocations: 169.6 kB / 452.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.2799, allocations: 12 kB / 452.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.2838, allocations: 3.857 MB / 456.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2838, allocations: 0 / 456.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2851, allocations: 0.6962 MB / 457.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.2852, allocations: 51.59 kB / 457.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.2853, allocations: 8 kB / 457.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.2855, allocations: 23.98 kB / 457.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2856, allocations: 52.28 kB / 457.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2857, allocations: 12 kB / 457.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.286, allocations: 283.2 kB / 457.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 0 / 457.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006876/0.2867, allocations: 152 kB / 457.7 MB, free: 10.94 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.001618/0.2883, allocations: 1.263 MB / 459 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.2899, allocations: 0.7612 MB / 459.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2899, allocations: 0 / 459.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.2907, allocations: 0.5085 MB / 460.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.2911, allocations: 56.45 kB / 460.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/0.2986, allocations: 4.659 MB / 465 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.2989, allocations: 259 kB / 465.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.299, allocations: 48.36 kB / 465.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.2993, allocations: 179.4 kB / 465.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2993, allocations: 0 / 465.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.3461, allocations: 10.6 MB / 476 MB, free: 8.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.28, allocations: 7.594 kB / 476 MB, free: 8.434 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.682167910970747]