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.001313/0.001313, allocations: 114 kB / 20.43 MB, free: 1.457 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.001431/0.001431, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002159/0.002159, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2708, allocations: 53.41 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00576/0.2765, allocations: 3.566 MB / 434.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2788, allocations: 0.9659 MB / 435.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.2792, allocations: 4 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.2796, allocations: 99.09 kB / 435.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.2801, allocations: 170.7 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.2806, allocations: 179.6 kB / 436.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007758/0.2814, allocations: 0.6386 MB / 436.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.2817, allocations: 138 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.2821, allocations: 247.1 kB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2824, allocations: 278.6 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.2825, allocations: 52 kB / 437.5 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.2826, allocations: 52 kB / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2827, allocations: 123.5 kB / 437.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.283, allocations: 282.5 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.2838, allocations: 0.646 MB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2838, allocations: 0 / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2838, allocations: 0 / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.2838, allocations: 0 / 438.6 MB, free: 15.27 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.001627/0.2855, allocations: 0.7972 MB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.2855, allocations: 8.031 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.2856, allocations: 90.7 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2857, allocations: 68.52 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.2863, allocations: 294.1 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.2863, allocations: 49.69 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.2864, allocations: 56.12 kB / 439.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.2873, allocations: 434.5 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2873, allocations: 0 / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.2873, allocations: 24 kB / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.2873, allocations: 12 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.2882, allocations: 393 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.2909, allocations: 1.505 MB / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.2916, allocations: 307.1 kB / 442.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.292, allocations: 168.2 kB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.292, allocations: 4.328 kB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2921, allocations: 38.83 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.2921, allocations: 4 kB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003415/0.2955, allocations: 1.199 MB / 444 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.2955, allocations: 55.91 kB / 444.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.2961, allocations: 417.5 kB / 444.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2961, allocations: 29.7 kB / 444.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.2963, allocations: 312.7 kB / 444.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2965, allocations: 198.3 kB / 445 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.2967, allocations: 114.3 kB / 445.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2968, allocations: 358.8 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2973, allocations: 177.2 kB / 445.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.2979, allocations: 303.2 kB / 445.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.2988, allocations: 500 kB / 446.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2988, allocations: 3.938 kB / 446.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001576/0.3004, allocations: 0.7405 MB / 447.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3004, allocations: 4 kB / 447.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3004, allocations: 4 kB / 447.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.301, allocations: 185.3 kB / 447.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.3016, allocations: 115.8 kB / 447.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.3063, allocations: 4.067 MB / 451.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.3068, allocations: 31.94 kB / 451.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.3069, allocations: 28.05 kB / 451.6 MB, free: 1.703 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.000277/0.3071, allocations: 177.8 kB / 451.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.3072, allocations: 47.72 kB / 451.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3074, allocations: 61.02 kB / 451.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3074, allocations: 15.88 kB / 451.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.3074, allocations: 4 kB / 451.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3074, allocations: 3.984 kB / 451.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.3099, allocations: 1.267 MB / 453.2 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3099, allocations: 4 kB / 453.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3102, allocations: 63.89 kB / 453.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.3106, allocations: 169.6 kB / 453.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.3107, allocations: 15.94 kB / 453.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.3148, allocations: 3.884 MB / 457.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3149, allocations: 7.969 kB / 457.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.3162, allocations: 0.6962 MB / 458 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3164, allocations: 51.59 kB / 458 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.3164, allocations: 12 kB / 458.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.3167, allocations: 23.98 kB / 458.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3169, allocations: 44.34 kB / 458.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.3169, allocations: 16 kB / 458.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.3173, allocations: 287.1 kB / 458.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3173, allocations: 0 / 458.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007789/0.318, allocations: 152 kB / 458.6 MB, free: 10.39 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.001693/0.3197, allocations: 1.24 MB / 459.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.3215, allocations: 0.7729 MB / 460.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3215, allocations: 0 / 460.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009318/0.3225, allocations: 0.5045 MB / 461.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.323, allocations: 56.89 kB / 461.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/0.3309, allocations: 4.655 MB / 465.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.3315, allocations: 0.8592 MB / 466.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.3317, allocations: 52.36 kB / 466.7 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.3319, allocations: 175.4 kB / 466.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.3319, allocations: 0 / 466.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.3827, allocations: 10.36 MB / 477.2 MB, free: 7.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.01, allocations: 9.703 kB / 477.2 MB, free: 7.508 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.461141271000088]