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.001766/0.001766, 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.002012/0.002012, allocations: 213 kB / 23.73 MB, free: 4.164 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.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 0.002492/0.002492, allocations: 63.91 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2345, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004613/0.2391, allocations: 2.679 MB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2408, allocations: 0.7516 MB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.241, allocations: 4 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.2413, allocations: 59.44 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.2417, allocations: 107.1 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.2421, allocations: 115.8 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.2426, allocations: 398.5 kB / 435.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.2428, allocations: 97.02 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.2432, allocations: 163.3 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2434, allocations: 155.2 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.2435, allocations: 36 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.2435, allocations: 32 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.2436, allocations: 79.75 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2438, allocations: 147.3 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.2443, allocations: 410.2 kB / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2443, allocations: 7.938 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2443, allocations: 3.938 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2443, allocations: 0 / 436.4 MB, free: 1.227 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.0012/0.2455, allocations: 0.5818 MB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2455, allocations: 15.98 kB / 436.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.214e-05/0.2456, allocations: 70.72 kB / 437 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.2457, allocations: 36.7 kB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2461, allocations: 225.7 kB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.2462, allocations: 29.03 kB / 437.3 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.2462, allocations: 28.38 kB / 437.3 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.2468, allocations: 290.2 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2468, allocations: 0 / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.2469, allocations: 16 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2469, allocations: 8 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.2475, allocations: 250.5 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.2492, allocations: 0.9244 MB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2496, allocations: 150.4 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2498, allocations: 60.83 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2498, allocations: 4 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2498, allocations: 34.56 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2498, allocations: 0 / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002091/0.2519, allocations: 0.5978 MB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.252, allocations: 55.39 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2523, allocations: 296 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2523, allocations: 29.7 kB / 440 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2525, allocations: 240 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.2526, allocations: 71.39 kB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2527, allocations: 69.64 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2529, allocations: 338.8 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.2532, allocations: 95.88 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.2535, allocations: 195.9 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.2542, allocations: 309.1 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2542, allocations: 0 / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008771/0.2551, allocations: 397.2 kB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2551, allocations: 4 kB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2551, allocations: 4 kB / 441.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.2554, allocations: 69.81 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.2557, allocations: 75.89 kB / 441.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2581, allocations: 2.626 MB / 444.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.2584, allocations: 19.98 kB / 444.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2584, allocations: 19.98 kB / 444.5 MB, free: 8.504 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.000196/0.2586, allocations: 157.7 kB / 444.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.2586, allocations: 31.75 kB / 444.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.2587, allocations: 30.3 kB / 444.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2587, allocations: 4 kB / 444.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.2587, allocations: 4.062 kB / 444.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2587, allocations: 0 / 444.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.2591, allocations: 276.6 kB / 445 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2591, allocations: 3.984 kB / 445 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2593, allocations: 43.91 kB / 445.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.2595, allocations: 57.67 kB / 445.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2595, allocations: 8 kB / 445.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.2617, allocations: 2.614 MB / 447.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2617, allocations: 0 / 447.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.2625, allocations: 380.9 kB / 448.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.2625, allocations: 27.8 kB / 448.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.2626, allocations: 4 kB / 448.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2628, allocations: 11.98 kB / 448.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.2629, allocations: 24.09 kB / 448.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2629, allocations: 11.98 kB / 448.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.2631, allocations: 203.1 kB / 448.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2631, allocations: 0 / 448.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.2635, allocations: 72 kB / 448.4 MB, free: 4.258 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.001099/0.2646, allocations: 0.9123 MB / 449.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009873/0.2656, allocations: 465.8 kB / 449.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2656, allocations: 12 kB / 449.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.2662, allocations: 341.2 kB / 450.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2665, allocations: 24.98 kB / 450.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.2711, allocations: 3.026 MB / 453.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.2713, allocations: 176.7 kB / 453.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.2715, allocations: 26.3 kB / 453.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2716, allocations: 107.4 kB / 453.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2716, allocations: 0 / 453.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.3131, allocations: 6.424 MB / 459.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.02, allocations: 3.984 kB / 459.9 MB, free: 8.656 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/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: 14.551698616705835]