Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001451/0.001451, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001587/0.001587, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2867, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004532/0.2912, allocations: 2.842 MB / 434 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2928, allocations: 0.7944 MB / 434.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.2929, allocations: 8 kB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.2932, allocations: 67.42 kB / 434.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.2934, allocations: 99.17 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2937, allocations: 107.8 kB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.2941, allocations: 398.5 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2944, allocations: 95.34 kB / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.2947, allocations: 167.3 kB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2949, allocations: 163.2 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.295, allocations: 35.94 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.295, allocations: 32 kB / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.2951, allocations: 87.67 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.2953, allocations: 167.1 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.2957, allocations: 398.7 kB / 436.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2957, allocations: 0 / 436.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.2957, allocations: 8 kB / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2957, allocations: 0 / 436.6 MB, free: 1.203 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001141/0.2969, allocations: 0.5714 MB / 437.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2969, allocations: 12.03 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.297, allocations: 66.72 kB / 437.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.2971, allocations: 40.7 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.2974, allocations: 218.8 kB / 437.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.2975, allocations: 29.03 kB / 437.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.2975, allocations: 28.38 kB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.2981, allocations: 298.1 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2981, allocations: 11.94 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2982, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2982, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.2988, allocations: 250.5 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3006, allocations: 1.041 MB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.301, allocations: 153 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3012, allocations: 72.81 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3012, allocations: 0 / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3013, allocations: 34.56 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.3013, allocations: 0 / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002113/0.3034, allocations: 0.5911 MB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3034, allocations: 55.41 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.3037, allocations: 273.7 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3037, allocations: 29.7 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3039, allocations: 236 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.304, allocations: 79.31 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3041, allocations: 69.44 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3043, allocations: 334.8 kB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.3045, allocations: 91.94 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.3049, allocations: 196.1 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.3056, allocations: 301.1 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3056, allocations: 0 / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008683/0.3064, allocations: 393.5 kB / 442 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3065, allocations: 10.19 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3065, allocations: 8 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.3067, allocations: 53.62 kB / 442.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3071, allocations: 75.89 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.3093, allocations: 2.63 MB / 444.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3096, allocations: 23.94 kB / 444.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.3096, allocations: 28 kB / 444.9 MB, free: 8.387 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 (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.0001768/0.3098, allocations: 149.7 kB / 445 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.3098, allocations: 23.86 kB / 445 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.3099, allocations: 34.27 kB / 445.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3099, allocations: 4 kB / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3099, allocations: 0 / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3099, allocations: 3.984 kB / 445.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.3103, allocations: 308.5 kB / 445.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3103, allocations: 0 / 445.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.3105, allocations: 35.97 kB / 445.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.3107, allocations: 61.8 kB / 445.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3107, allocations: 11.94 kB / 445.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.3129, allocations: 2.618 MB / 448.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3129, allocations: 0 / 448.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.3136, allocations: 380.8 kB / 448.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.3137, allocations: 23.86 kB / 448.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3137, allocations: 8 kB / 448.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3139, allocations: 23.97 kB / 448.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.314, allocations: 23.91 kB / 448.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.314, allocations: 4 kB / 448.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.3142, allocations: 189.2 kB / 448.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 448.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.3146, allocations: 72 kB / 448.8 MB, free: 4.125 MB / 350.1 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.001047/0.3156, allocations: 0.908 MB / 449.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009633/0.3166, allocations: 469.7 kB / 450.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3166, allocations: 4.062 kB / 450.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.3171, allocations: 341.2 kB / 450.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3175, allocations: 28.48 kB / 450.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.322, allocations: 2.962 MB / 453.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3224, allocations: 0.7714 MB / 454.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3226, allocations: 34.25 kB / 454.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3227, allocations: 99.41 kB / 454.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3227, allocations: 3.938 kB / 454.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.362, allocations: 5.885 MB / 460.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.54, allocations: 3.938 kB / 460.3 MB, free: 8.48 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.051891213999625]