Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.0008947/0.0008947, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009495/0.0009495, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9154/0.9154, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.587e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003069/0.003085, allocations: 2.688 MB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004239, allocations: 0.7478 MB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.004398, allocations: 11.94 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.0046, allocations: 75.3 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.004848, allocations: 103.2 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.005061, allocations: 111.7 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.005343, allocations: 410.2 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.005519, allocations: 90.98 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.005844, allocations: 247.4 kB / 329 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005973, allocations: 131.6 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.00601, allocations: 32 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.006043, allocations: 40 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.006089, allocations: 75.67 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.00617, allocations: 119.7 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.006466, allocations: 422.6 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006469, allocations: 0 / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006469, allocations: 0 / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006474, allocations: 0 / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006879/0.007162, allocations: 0.5714 MB / 330.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.0072, allocations: 15.98 kB / 330.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.007256, allocations: 66.72 kB / 330.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.007302, allocations: 40.7 kB / 330.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.00755, allocations: 217.2 kB / 330.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.007572, allocations: 21.03 kB / 330.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.00761, allocations: 40.3 kB / 330.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.00797, allocations: 290.6 kB / 331 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.00798, allocations: 192 / 331 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.008, allocations: 16.12 kB / 331 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.008008, allocations: 8 kB / 331 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.008368, allocations: 254.5 kB / 331.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.009412, allocations: 0.9176 MB / 332.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.009652, allocations: 142.5 kB / 332.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.009754, allocations: 72.8 kB / 332.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.009774, allocations: 7.938 kB / 332.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.009795, allocations: 38.5 kB / 332.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.009797, allocations: 0 / 332.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001143/0.01094, allocations: 0.5986 MB / 333.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.01097, allocations: 59.41 kB / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01117, allocations: 288.1 kB / 333.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.01119, allocations: 29.7 kB / 333.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.01129, allocations: 232.1 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01133, allocations: 87.25 kB / 333.8 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.01139, allocations: 57.66 kB / 333.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.01171, allocations: 342.8 kB / 334.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.01187, allocations: 95.92 kB / 334.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.01207, allocations: 206.8 kB / 334.4 MB, free: 5.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.01241, allocations: 305.1 kB / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01241, allocations: 0 / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004707/0.01288, allocations: 401 kB / 335.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.0129, allocations: 8.406 kB / 335.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.0129, allocations: 8 kB / 335.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.01308, allocations: 57.67 kB / 335.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01325, allocations: 71.89 kB / 335.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.01455, allocations: 2.622 MB / 337.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.01468, allocations: 19.98 kB / 337.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01469, allocations: 12 kB / 337.9 MB, free: 1.887 MB / 298.7 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.01481, allocations: 161.8 kB / 338.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.01484, allocations: 27.81 kB / 338.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.01488, allocations: 34.3 kB / 338.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01488, allocations: 0 / 338.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.01489, allocations: 4 kB / 338.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01489, allocations: 3.984 kB / 338.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.01512, allocations: 272.6 kB / 338.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.01512, allocations: 8 kB / 338.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.01522, allocations: 35.97 kB / 338.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.01531, allocations: 57.67 kB / 338.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01533, allocations: 7.938 kB / 338.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.01678, allocations: 2.619 MB / 341.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01678, allocations: 0 / 341.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.01717, allocations: 371.8 kB / 341.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01719, allocations: 23.81 kB / 341.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01721, allocations: 16 kB / 341.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.0173, allocations: 19.97 kB / 341.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.01735, allocations: 15.97 kB / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01736, allocations: 4 kB / 341.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.01748, allocations: 207 kB / 341.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01749, allocations: 0 / 341.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000234/0.01772, allocations: 76 kB / 341.9 MB, free: 13.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006324/0.01835, allocations: 0.9012 MB / 342.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.01897, allocations: 477 kB / 343.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01897, allocations: 0 / 343.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.01924, allocations: 343.1 kB / 343.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01949, allocations: 40.89 kB / 343.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.0224, allocations: 3.03 MB / 346.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02252, allocations: 172.8 kB / 346.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.723e-05/0.02261, allocations: 26.28 kB / 346.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.02274, allocations: 108.5 kB / 346.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02274, allocations: 0 / 346.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.04358, allocations: 6.558 MB / 353.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.342, allocations: 6.609 kB / 353.5 MB, free: 1.91 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_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_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.132237629033625]