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.00162/0.00162, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002081/0.002081, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.002325/0.002325, allocations: 67.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2457, allocations: 53.4 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004488/0.2502, allocations: 2.679 MB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2516, allocations: 0.7554 MB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2518, allocations: 4 kB / 434.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.252, allocations: 71.36 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.2523, allocations: 95.19 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2525, allocations: 107.9 kB / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.253, allocations: 405.6 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2532, allocations: 93.03 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.2535, allocations: 171.3 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2537, allocations: 147.2 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2537, allocations: 36 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.2538, allocations: 36 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.2539, allocations: 79.75 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.254, allocations: 151.2 kB / 435.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.2545, allocations: 414.1 kB / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2545, allocations: 0 / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2545, allocations: 0 / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2545, allocations: 0 / 436.3 MB, free: 1.211 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.001177/0.2557, allocations: 0.5869 MB / 436.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2557, allocations: 11.98 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.131e-05/0.2558, allocations: 70.72 kB / 437 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.2559, allocations: 36.7 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.2563, allocations: 221.7 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.2563, allocations: 25.03 kB / 437.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.2564, allocations: 32.38 kB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.257, allocations: 298.2 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.257, allocations: 0 / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.257, allocations: 12 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.257, allocations: 8 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.2577, allocations: 250.4 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2594, allocations: 0.9283 MB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.2598, allocations: 146.5 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.26, allocations: 64.81 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.26, allocations: 12 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2601, allocations: 30.56 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2601, allocations: 0 / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002113/0.2622, allocations: 0.5941 MB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2622, allocations: 55.41 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.2625, allocations: 296 kB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2626, allocations: 33.7 kB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2627, allocations: 236 kB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.2628, allocations: 83.3 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2629, allocations: 61.66 kB / 440.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2631, allocations: 342.8 kB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2634, allocations: 99.92 kB / 440.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.2638, allocations: 196 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.2644, allocations: 305.1 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2644, allocations: 0 / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009083/0.2654, allocations: 397 kB / 441.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2654, allocations: 4 kB / 441.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2654, allocations: 4.406 kB / 441.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.2656, allocations: 65.61 kB / 441.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.266, allocations: 75.89 kB / 441.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.2683, allocations: 2.618 MB / 444.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.2686, allocations: 23.98 kB / 444.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2686, allocations: 12 kB / 444.5 MB, free: 8.488 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.0001858/0.2688, allocations: 157.8 kB / 444.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.2688, allocations: 31.81 kB / 444.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.2689, allocations: 30.3 kB / 444.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2689, allocations: 4 kB / 444.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2689, allocations: 0 / 444.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2689, allocations: 3.984 kB / 444.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.2693, allocations: 280.6 kB / 445 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2693, allocations: 4 kB / 445 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.2696, allocations: 39.91 kB / 445 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.2697, allocations: 61.8 kB / 445.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2698, allocations: 8 kB / 445.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.2719, allocations: 2.614 MB / 447.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2719, allocations: 0 / 447.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.2727, allocations: 376.8 kB / 448.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.2728, allocations: 23.94 kB / 448.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2728, allocations: 4 kB / 448.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.273, allocations: 24.03 kB / 448.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.2731, allocations: 19.97 kB / 448.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2731, allocations: 4 kB / 448.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.2733, allocations: 199.1 kB / 448.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2733, allocations: 0 / 448.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000463/0.2738, allocations: 72 kB / 448.4 MB, free: 4.25 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.00109/0.2749, allocations: 0.92 MB / 449.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009828/0.2759, allocations: 473 kB / 449.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2759, allocations: 4 kB / 449.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.2764, allocations: 341.9 kB / 450.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2768, allocations: 40.02 kB / 450.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.2815, allocations: 3.025 MB / 453.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2816, allocations: 172.7 kB / 453.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.2818, allocations: 34.27 kB / 453.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2819, allocations: 99.41 kB / 453.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2819, allocations: 0 / 453.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.3218, allocations: 6.425 MB / 459.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.17, allocations: 7.109 kB / 459.9 MB, free: 8.633 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.58441408816725]