Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 47.92 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 52.19 MB / 422.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005959/0.24, allocations: 4.575 MB / 427.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.2431, allocations: 1.954 MB / 429.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.2433, allocations: 16 kB / 429.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.2462, allocations: 1.298 MB / 430.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2473, allocations: 0.5631 MB / 431 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.2492, allocations: 1.003 MB / 432 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.25, allocations: 0.755 MB / 432.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008048/0.2508, allocations: 0.5713 MB / 433.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.2512, allocations: 334.8 kB / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.2516, allocations: 390.3 kB / 434 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.2517, allocations: 68 kB / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.2523, allocations: 367.6 kB / 434.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2524, allocations: 163.4 kB / 434.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.2527, allocations: 314.5 kB / 434.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.254, allocations: 1.207 MB / 436.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.254, allocations: 0 / 436.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.254, allocations: 0 / 436.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.254, allocations: 0 / 436.1 MB, free: 0.9219 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004022/0.258, allocations: 1.398 MB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.258, allocations: 12.02 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.2582, allocations: 135.4 kB / 437.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.2607, allocations: 384.1 kB / 438.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.261, allocations: 205.5 kB / 438.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.261, allocations: 66.38 kB / 438.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2612, allocations: 88.11 kB / 438.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.2629, allocations: 0.9047 MB / 439.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.2629, allocations: 0 / 439.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.263, allocations: 36 kB / 439.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.263, allocations: 20 kB / 439.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.2648, allocations: 0.7964 MB / 440.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.2691, allocations: 2.383 MB / 442.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2702, allocations: 0.516 MB / 443.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.2708, allocations: 218.2 kB / 443.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.2708, allocations: 24.48 kB / 443.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2709, allocations: 39.06 kB / 443.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.484e-06/0.2709, allocations: 0 / 443.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008017/0.2789, allocations: 2.202 MB / 445.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.2789, allocations: 85.61 kB / 445.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.2793, allocations: 340.2 kB / 445.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.2794, allocations: 33.7 kB / 446 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.2796, allocations: 375.9 kB / 446.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.2798, allocations: 218.1 kB / 446.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.28, allocations: 150.6 kB / 446.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2802, allocations: 350.7 kB / 447.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/0.281, allocations: 277.8 kB / 447.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.282, allocations: 0.5294 MB / 447.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.2839, allocations: 0.8088 MB / 448.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.2839, allocations: 4 kB / 448.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00224/0.2861, allocations: 0.905 MB / 449.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2861, allocations: 15.94 kB / 449.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2862, allocations: 8 kB / 449.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.2864, allocations: 69.67 kB / 449.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.2873, allocations: 203.7 kB / 449.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.2894, allocations: 2.654 MB / 452.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.2901, allocations: 72.02 kB / 452.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.2902, allocations: 35.98 kB / 452.6 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0003122/0.2905, allocations: 217.5 kB / 452.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.2906, allocations: 43.7 kB / 452.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.2926, allocations: 0.7455 MB / 453.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.2926, allocations: 7.938 kB / 453.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2926, allocations: 0 / 453.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2926, allocations: 7.922 kB / 453.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.2954, allocations: 1.309 MB / 454.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2954, allocations: 0 / 454.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.2961, allocations: 139.8 kB / 455.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.2963, allocations: 65.66 kB / 455.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.2964, allocations: 12 kB / 455.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.2985, allocations: 2.645 MB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2985, allocations: 3.938 kB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.3012, allocations: 1.093 MB / 458.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3014, allocations: 87.61 kB / 459 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.3015, allocations: 16.06 kB / 459 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.302, allocations: 47.95 kB / 459 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3021, allocations: 48.41 kB / 459.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3022, allocations: 19.98 kB / 459.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.3024, allocations: 219.1 kB / 459.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3024, allocations: 0 / 459.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000716/0.3031, allocations: 176 kB / 459.5 MB, free: 8.422 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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,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.003169/0.3063, allocations: 1.692 MB / 461.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.3085, allocations: 0.8885 MB / 462.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3085, allocations: 4 kB / 462.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3096, allocations: 0.5274 MB / 462.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.31, allocations: 49.02 kB / 462.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009365/0.3194, allocations: 5.216 MB / 467.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3197, allocations: 286.6 kB / 468.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.3201, allocations: 100.5 kB / 468.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.3204, allocations: 223.3 kB / 468.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3204, allocations: 3.938 kB / 468.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.383, allocations: 12.18 MB / 480.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.44, allocations: 1.312 kB / 480.7 MB, free: 3.098 MB / 382.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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: 18.102351794950664]